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

Side by Side Diff: third_party/WebKit/public/platform/WebFrameScheduler.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 WebFrameScheduler_h 5 #ifndef WebFrameScheduler_h
6 #define WebFrameScheduler_h 6 #define WebFrameScheduler_h
7 7
8 #include "WebCommon.h" 8 #include "WebCommon.h"
9 9
10 #include <string> 10 #include <string>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class WebSecurityOrigin;
15 class WebTaskRunner; 14 class WebTaskRunner;
16 class WebViewScheduler; 15 class WebViewScheduler;
17 16
18 class BLINK_PLATFORM_EXPORT WebFrameScheduler { 17 class BLINK_PLATFORM_EXPORT WebFrameScheduler {
19 public: 18 public:
20 virtual ~WebFrameScheduler() {} 19 virtual ~WebFrameScheduler() {}
21 20
22 // The scheduler may throttle tasks associated with offscreen frames. 21 // The scheduler may throttle tasks associated with offscreen frames.
23 virtual void setFrameVisible(bool) {} 22 virtual void setFrameVisible(bool) {}
24 23
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual void setDocumentParsingInBackground(bool) {} 68 virtual void setDocumentParsingInBackground(bool) {}
70 69
71 // Tells the scheduler that the first meaningful paint has occured for this 70 // Tells the scheduler that the first meaningful paint has occured for this
72 // frame. 71 // frame.
73 virtual void onFirstMeaningfulPaint() {} 72 virtual void onFirstMeaningfulPaint() {}
74 }; 73 };
75 74
76 } // namespace blink 75 } // namespace blink
77 76
78 #endif // WebFrameScheduler_h 77 #endif // WebFrameScheduler_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebFileWriter.h ('k') | third_party/WebKit/public/platform/WebImageLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698