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

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

Issue 2418383002: sync compositor: Signal async frame on IO thread (Closed)
Patch Set: typo 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_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 const gfx::Vector2dF& accumulated_overscroll, 49 const gfx::Vector2dF& accumulated_overscroll,
50 const gfx::Vector2dF& latest_overscroll_delta, 50 const gfx::Vector2dF& latest_overscroll_delta,
51 const gfx::Vector2dF& current_fling_velocity) = 0; 51 const gfx::Vector2dF& current_fling_velocity) = 0;
52 52
53 virtual void PostInvalidate(SynchronousCompositor* compositor) = 0; 53 virtual void PostInvalidate(SynchronousCompositor* compositor) = 0;
54 54
55 virtual void DidUpdateContent(SynchronousCompositor* compositor) = 0; 55 virtual void DidUpdateContent(SynchronousCompositor* compositor) = 0;
56 56
57 virtual ui::TouchHandleDrawable* CreateDrawable() = 0; 57 virtual ui::TouchHandleDrawable* CreateDrawable() = 0;
58 58
59 virtual void OnDrawHardwareProcessFrameFuture(
60 const scoped_refptr<content::SynchronousCompositor::FrameFuture>&
61 frame_future) = 0;
62
63 protected: 59 protected:
64 SynchronousCompositorClient() {} 60 SynchronousCompositorClient() {}
65 virtual ~SynchronousCompositorClient() {} 61 virtual ~SynchronousCompositorClient() {}
66 62
67 private: 63 private:
68 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient); 64 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient);
69 }; 65 };
70 66
71 } // namespace content 67 } // namespace content
72 68
73 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ 69 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/android/synchronous_compositor.h ('k') | content/public/test/test_synchronous_compositor_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698