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

Side by Side Diff: content/public/browser/android/synchronous_compositor.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/synchronization/waitable_event.h" 13 #include "base/synchronization/waitable_event.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "cc/resources/returned_resource.h" 15 #include "cc/resources/returned_resource.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "ui/gfx/geometry/rect.h" 17 #include "ui/gfx/geometry/rect.h"
18 #include "ui/gfx/geometry/size.h" 18 #include "ui/gfx/geometry/size.h"
19 19
20 class SkCanvas; 20 class SkCanvas;
21 21
22 namespace cc { 22 namespace cc {
23 class CompositorFrame; 23 class CompositorFrame;
24 class CompositorFrameAck;
25 } 24 }
26 25
27 namespace gfx { 26 namespace gfx {
28 class Point; 27 class Point;
29 class ScrollOffset; 28 class ScrollOffset;
30 class Transform; 29 class Transform;
31 }; 30 };
32 31
33 namespace content { 32 namespace content {
34 33
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // and if any input animation is active, it should tick now. 117 // and if any input animation is active, it should tick now.
119 virtual void OnComputeScroll(base::TimeTicks animation_time) = 0; 118 virtual void OnComputeScroll(base::TimeTicks animation_time) = 0;
120 119
121 protected: 120 protected:
122 virtual ~SynchronousCompositor() {} 121 virtual ~SynchronousCompositor() {}
123 }; 122 };
124 123
125 } // namespace content 124 } // namespace content
126 125
127 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ 126 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/public/browser/android/content_view_core.h ('k') | content/public/browser/appcache_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698