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

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

Issue 1846653003: android webview: Keep zoom methods synchronous (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ipc comments Created 4 years, 8 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 IPC::Message* reply_message); 102 IPC::Message* reply_message);
103 void SetSharedMemory( 103 void SetSharedMemory(
104 const SyncCompositorCommonBrowserParams& common_params, 104 const SyncCompositorCommonBrowserParams& common_params,
105 const SyncCompositorSetSharedMemoryParams& params, 105 const SyncCompositorSetSharedMemoryParams& params,
106 bool* success, 106 bool* success,
107 SyncCompositorCommonRendererParams* common_renderer_params); 107 SyncCompositorCommonRendererParams* common_renderer_params);
108 void ZeroSharedMemory(); 108 void ZeroSharedMemory();
109 void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params, 109 void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params,
110 const SyncCompositorDemandDrawSwParams& params, 110 const SyncCompositorDemandDrawSwParams& params,
111 IPC::Message* reply_message); 111 IPC::Message* reply_message);
112 void SynchronousUpdateState(
113 const SyncCompositorCommonBrowserParams& common_params,
114 SyncCompositorCommonRendererParams* common_renderer_params);
112 115
113 void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame* frame); 116 void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame* frame);
114 void SendDemandDrawHwReply(cc::CompositorFrame* frame, 117 void SendDemandDrawHwReply(cc::CompositorFrame* frame,
115 uint32_t output_surface_id, 118 uint32_t output_surface_id,
116 IPC::Message* reply_message); 119 IPC::Message* reply_message);
117 void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params); 120 void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params);
118 void SwapBuffersSw(cc::CompositorFrame* frame); 121 void SwapBuffersSw(cc::CompositorFrame* frame);
119 void SendDemandDrawSwReply(bool success, 122 void SendDemandDrawSwReply(bool success,
120 cc::CompositorFrame* frame, 123 cc::CompositorFrame* frame,
121 IPC::Message* reply_message); 124 IPC::Message* reply_message);
(...skipping 28 matching lines...) Expand all
150 uint32_t need_invalidate_count_; 153 uint32_t need_invalidate_count_;
151 bool need_begin_frame_; 154 bool need_begin_frame_;
152 uint32_t did_activate_pending_tree_count_; 155 uint32_t did_activate_pending_tree_count_;
153 156
154 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); 157 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy);
155 }; 158 };
156 159
157 } // namespace content 160 } // namespace content
158 161
159 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ 162 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_
OLDNEW
« no previous file with comments | « content/public/test/test_synchronous_compositor_android.h ('k') | content/renderer/android/synchronous_compositor_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698