OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_SCHEDULER_RENDERER_RENDER_WIDGET_SCHEDULING_STATE_H_ | |
6 #define COMPONENTS_SCHEDULER_RENDERER_RENDER_WIDGET_SCHEDULING_STATE_H_ | |
7 | |
8 #include "components/scheduler/scheduler_export.h" | |
9 | |
10 namespace scheduler { | |
11 | |
12 class RenderWidgetSignals; | |
13 | |
14 class SCHEDULER_EXPORT RenderWidgetSchedulingState { | |
15 public: | |
16 void SetHidden(bool hidden); | |
17 void SetHasTouchHandler(bool has_touch_handler); | |
18 | |
19 ~RenderWidgetSchedulingState(); | |
20 | |
21 private: | |
22 friend class RenderWidgetSignals; | |
23 | |
24 explicit RenderWidgetSchedulingState( | |
25 RenderWidgetSignals* render_widget_scheduling_signals); | |
26 | |
27 RenderWidgetSignals* render_widget_signals_; // NOT OWNED | |
28 bool hidden_; | |
29 bool has_touch_handler_; | |
30 }; | |
31 | |
32 } // namespace scheduler | |
33 | |
34 #endif // COMPONENTS_SCHEDULER_RENDERER_RENDER_WIDGET_SCHEDULING_STATE_H_ | |
OLD | NEW |