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

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

Issue 2174203002: OnDrawHardware() implementation with async messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary return statement Created 4 years, 3 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_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/time/time.h" 10 #include "base/time/time.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const gfx::Vector2dF& accumulated_overscroll, 48 const gfx::Vector2dF& accumulated_overscroll,
49 const gfx::Vector2dF& latest_overscroll_delta, 49 const gfx::Vector2dF& latest_overscroll_delta,
50 const gfx::Vector2dF& current_fling_velocity) = 0; 50 const gfx::Vector2dF& current_fling_velocity) = 0;
51 51
52 virtual void PostInvalidate(SynchronousCompositor* compositor) = 0; 52 virtual void PostInvalidate(SynchronousCompositor* compositor) = 0;
53 53
54 virtual void DidUpdateContent(SynchronousCompositor* compositor) = 0; 54 virtual void DidUpdateContent(SynchronousCompositor* compositor) = 0;
55 55
56 virtual ui::TouchHandleDrawable* CreateDrawable() = 0; 56 virtual ui::TouchHandleDrawable* CreateDrawable() = 0;
57 57
58 virtual void OnDrawHardwareProcessFrame(
59 content::SynchronousCompositor::Frame frame) = 0;
60
58 protected: 61 protected:
59 SynchronousCompositorClient() {} 62 SynchronousCompositorClient() {}
60 virtual ~SynchronousCompositorClient() {} 63 virtual ~SynchronousCompositorClient() {}
61 64
62 private: 65 private:
63 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient); 66 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient);
64 }; 67 };
65 68
66 } // namespace content 69 } // namespace content
67 70
68 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ 71 #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