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

Side by Side Diff: cc/surfaces/display_scheduler.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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
« no previous file with comments | « cc/surfaces/display_client.h ('k') | cc/surfaces/surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CC_SURFACES_DISPLAY_SCHEDULER_H_ 5 #ifndef CC_SURFACES_DISPLAY_SCHEDULER_H_
6 #define CC_SURFACES_DISPLAY_SCHEDULER_H_ 6 #define CC_SURFACES_DISPLAY_SCHEDULER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "cc/output/renderer_settings.h" 14 #include "cc/output/renderer_settings.h"
15 #include "cc/scheduler/begin_frame_source.h" 15 #include "cc/scheduler/begin_frame_source.h"
16 #include "cc/surfaces/surface_id.h" 16 #include "cc/surfaces/surface_id.h"
17 #include "cc/surfaces/surfaces_export.h" 17 #include "cc/surfaces/surfaces_export.h"
18 18
19 namespace cc { 19 namespace cc {
20 20
21 class OutputSurface;
22 class BeginFrameSource; 21 class BeginFrameSource;
23 22
24 class CC_SURFACES_EXPORT DisplaySchedulerClient { 23 class CC_SURFACES_EXPORT DisplaySchedulerClient {
25 public: 24 public:
26 virtual ~DisplaySchedulerClient() {} 25 virtual ~DisplaySchedulerClient() {}
27 26
28 virtual bool DrawAndSwap() = 0; 27 virtual bool DrawAndSwap() = 0;
29 }; 28 };
30 29
31 class CC_SURFACES_EXPORT DisplayScheduler : public BeginFrameObserverBase { 30 class CC_SURFACES_EXPORT DisplayScheduler : public BeginFrameObserverBase {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 98
100 base::WeakPtrFactory<DisplayScheduler> weak_ptr_factory_; 99 base::WeakPtrFactory<DisplayScheduler> weak_ptr_factory_;
101 100
102 private: 101 private:
103 DISALLOW_COPY_AND_ASSIGN(DisplayScheduler); 102 DISALLOW_COPY_AND_ASSIGN(DisplayScheduler);
104 }; 103 };
105 104
106 } // namespace cc 105 } // namespace cc
107 106
108 #endif // CC_SURFACES_DISPLAY_SCHEDULER_H_ 107 #endif // CC_SURFACES_DISPLAY_SCHEDULER_H_
OLDNEW
« no previous file with comments | « cc/surfaces/display_client.h ('k') | cc/surfaces/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698