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

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

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reduce android_webview changes Created 4 years, 5 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 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/time/time.h" 13 #include "base/time/time.h"
14 #include "cc/output/compositor_frame.h"
danakj 2016/06/24 18:35:11 Dont need to do this now
Fady Samuel 2016/06/24 20:00:24 Done.
14 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
15 #include "ui/gfx/geometry/rect.h" 16 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/geometry/size.h" 17 #include "ui/gfx/geometry/size.h"
17 18
18 class SkCanvas; 19 class SkCanvas;
19 20
20 namespace cc { 21 namespace cc {
21 class CompositorFrame;
22 class CompositorFrameAck; 22 class CompositorFrameAck;
23 } 23 }
24 24
25 namespace gfx { 25 namespace gfx {
26 class Point; 26 class Point;
27 class ScrollOffset; 27 class ScrollOffset;
28 class Transform; 28 class Transform;
29 }; 29 };
30 30
31 namespace content { 31 namespace content {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // and if any input animation is active, it should tick now. 94 // and if any input animation is active, it should tick now.
95 virtual void OnComputeScroll(base::TimeTicks animation_time) = 0; 95 virtual void OnComputeScroll(base::TimeTicks animation_time) = 0;
96 96
97 protected: 97 protected:
98 virtual ~SynchronousCompositor() {} 98 virtual ~SynchronousCompositor() {}
99 }; 99 };
100 100
101 } // namespace content 101 } // namespace content
102 102
103 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ 103 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698