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

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/child/web_scheduler.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WEB_SCHEDULER_H_ 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_SCHEDULER_H_
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_SCHEDULER_H_ 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_SCHEDULER_H_
7 7
8 #include "platform/scheduler/renderer/web_view_scheduler.h" 8 #include "platform/scheduler/renderer/web_view_scheduler.h"
9 #include "public/platform/WebString.h" 9 #include "public/platform/WebString.h"
10 #include "public/platform/WebThread.h" 10 #include "public/platform/WebThread.h"
11 #include "public/platform/WebTraceLocation.h" 11 #include "public/platform/WebTraceLocation.h"
12 #include "public/platform/scheduler/renderer/renderer_scheduler.h" 12 #include "public/platform/scheduler/renderer/renderer_scheduler.h"
13 13
14 #include <memory> 14 #include <memory>
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class WebTaskRunner; 18 class WebTaskRunner;
19 19
20 // This class is used to submit tasks and pass other information from Blink to 20 // This class is used to submit tasks and pass other information from Blink to
21 // the platform's scheduler. 21 // the platform's scheduler.
22 // TODO(skyostil): Replace this class with RendererScheduler. 22 // TODO(skyostil): Replace this class with RendererScheduler.
23 class BLINK_PLATFORM_EXPORT WebScheduler { 23 class PLATFORM_EXPORT WebScheduler {
24 public: 24 public:
25 class BLINK_PLATFORM_EXPORT InterventionReporter { 25 class PLATFORM_EXPORT InterventionReporter {
26 public: 26 public:
27 virtual ~InterventionReporter() {} 27 virtual ~InterventionReporter() {}
28 28
29 // The scheduler has performed an intervention, described by |message|, 29 // The scheduler has performed an intervention, described by |message|,
30 // which should be reported to the developer. 30 // which should be reported to the developer.
31 virtual void ReportIntervention(const WebString& message) = 0; 31 virtual void ReportIntervention(const WebString& message) = 0;
32 }; 32 };
33 33
34 virtual ~WebScheduler() {} 34 virtual ~WebScheduler() {}
35 35
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 void PostIdleTask(const WebTraceLocation&, std::unique_ptr<IdleTask>); 102 void PostIdleTask(const WebTraceLocation&, std::unique_ptr<IdleTask>);
103 void PostNonNestableIdleTask(const WebTraceLocation&, 103 void PostNonNestableIdleTask(const WebTraceLocation&,
104 std::unique_ptr<IdleTask>); 104 std::unique_ptr<IdleTask>);
105 #endif 105 #endif
106 }; 106 };
107 107
108 } // namespace blink 108 } // namespace blink
109 109
110 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_SCHEDULER_H _ 110 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_SCHEDULER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698