Line data Source code
1 : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 : /* vim: set sw=4 ts=8 et tw=80 : */
3 : /* This Source Code Form is subject to the terms of the Mozilla Public
4 : * License, v. 2.0. If a copy of the MPL was not distributed with this
5 : * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 :
7 : #ifndef mozilla_layers_CompositorController_h
8 : #define mozilla_layers_CompositorController_h
9 :
10 : #include "nsISupportsImpl.h" // for NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING
11 :
12 : namespace mozilla {
13 : namespace layers {
14 :
15 1 : class CompositorController
16 : {
17 : public:
18 : NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING
19 :
20 : virtual void ScheduleRenderOnCompositorThread() = 0;
21 : virtual void ScheduleHideAllPluginWindows() = 0;
22 : virtual void ScheduleShowAllPluginWindows() = 0;
23 :
24 : protected:
25 0 : virtual ~CompositorController() {}
26 : };
27 :
28 : } // namespace layers
29 : } // namespace mozilla
30 :
31 : #endif // mozilla_layers_CompositorController_h
|