Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/renderer/render_widget_signals.h

Issue 2836853003: scheduler: Use PLATFORM_EXPORT instead of BLINK_PLATFORM_EXPORT (Closed)
Patch Set: Rebased Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDER_WIDGET_SIGN ALS_H_ 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDER_WIDGET_SIGN ALS_H_
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDER_WIDGET_SIGN ALS_H_ 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDER_WIDGET_SIGN ALS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
11 #include "base/trace_event/trace_event_argument.h" 11 #include "base/trace_event/trace_event_argument.h"
12 #include "public/platform/WebCommon.h" 12 #include "platform/PlatformExport.h"
13 13
14 namespace blink { 14 namespace blink {
15 namespace scheduler { 15 namespace scheduler {
16 16
17 class RenderWidgetSchedulingState; 17 class RenderWidgetSchedulingState;
18 18
19 class BLINK_PLATFORM_EXPORT RenderWidgetSignals { 19 class PLATFORM_EXPORT RenderWidgetSignals {
20 public: 20 public:
21 class BLINK_PLATFORM_EXPORT Observer { 21 class PLATFORM_EXPORT Observer {
22 public: 22 public:
23 virtual ~Observer() {} 23 virtual ~Observer() {}
24 24
25 // If |hidden| is true then all render widgets managed by this renderer 25 // If |hidden| is true then all render widgets managed by this renderer
26 // process have been hidden. 26 // process have been hidden.
27 // If |hidden| is false at least one render widget managed by this renderer 27 // If |hidden| is false at least one render widget managed by this renderer
28 // process has become visible and the renderer is no longer hidden. 28 // process has become visible and the renderer is no longer hidden.
29 // Will be called on the main thread. 29 // Will be called on the main thread.
30 virtual void SetAllRenderWidgetsHidden(bool hidden) = 0; 30 virtual void SetAllRenderWidgetsHidden(bool hidden) = 0;
31 31
(...skipping 19 matching lines...) Expand all
51 51
52 Observer* observer_; // NOT OWNED 52 Observer* observer_; // NOT OWNED
53 int num_visible_render_widgets_; 53 int num_visible_render_widgets_;
54 int num_visible_render_widgets_with_touch_handlers_; 54 int num_visible_render_widgets_with_touch_handlers_;
55 }; 55 };
56 56
57 } // namespace scheduler 57 } // namespace scheduler
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDER_WIDGET_S IGNALS_H_ 60 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDER_WIDGET_S IGNALS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698