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

Side by Side Diff: content/renderer/android/synchronous_compositor_proxy.h

Issue 1601743008: sync compositor: Make OnComputeScroll async IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 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 CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // IPC handlers. 83 // IPC handlers.
84 void HandleInputEvent( 84 void HandleInputEvent(
85 const SyncCompositorCommonBrowserParams& common_params, 85 const SyncCompositorCommonBrowserParams& common_params,
86 const blink::WebInputEvent* event, 86 const blink::WebInputEvent* event,
87 SyncCompositorCommonRendererParams* common_renderer_params, 87 SyncCompositorCommonRendererParams* common_renderer_params,
88 InputEventAckState* ack); 88 InputEventAckState* ack);
89 void BeginFrame(const SyncCompositorCommonBrowserParams& common_params, 89 void BeginFrame(const SyncCompositorCommonBrowserParams& common_params,
90 const cc::BeginFrameArgs& args, 90 const cc::BeginFrameArgs& args,
91 SyncCompositorCommonRendererParams* common_renderer_params); 91 SyncCompositorCommonRendererParams* common_renderer_params);
92 void OnComputeScroll( 92 void OnComputeScroll(const SyncCompositorCommonBrowserParams& common_params,
93 const SyncCompositorCommonBrowserParams& common_params, 93 base::TimeTicks animation_time);
94 base::TimeTicks animation_time,
95 SyncCompositorCommonRendererParams* common_renderer_params);
96 void DemandDrawHw(const SyncCompositorCommonBrowserParams& common_params, 94 void DemandDrawHw(const SyncCompositorCommonBrowserParams& common_params,
97 const SyncCompositorDemandDrawHwParams& params, 95 const SyncCompositorDemandDrawHwParams& params,
98 IPC::Message* reply_message); 96 IPC::Message* reply_message);
99 void SetSharedMemory( 97 void SetSharedMemory(
100 const SyncCompositorCommonBrowserParams& common_params, 98 const SyncCompositorCommonBrowserParams& common_params,
101 const SyncCompositorSetSharedMemoryParams& params, 99 const SyncCompositorSetSharedMemoryParams& params,
102 bool* success, 100 bool* success,
103 SyncCompositorCommonRendererParams* common_renderer_params); 101 SyncCompositorCommonRendererParams* common_renderer_params);
104 void ZeroSharedMemory(); 102 void ZeroSharedMemory();
105 void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params, 103 void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 bool need_invalidate_; 142 bool need_invalidate_;
145 bool need_begin_frame_; 143 bool need_begin_frame_;
146 bool did_activate_pending_tree_; 144 bool did_activate_pending_tree_;
147 145
148 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); 146 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy);
149 }; 147 };
150 148
151 } // namespace content 149 } // namespace content
152 150
153 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ 151 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_
OLDNEW
« no previous file with comments | « content/common/android/sync_compositor_messages.h ('k') | content/renderer/android/synchronous_compositor_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698