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

Side by Side Diff: content/browser/android/synchronous_compositor_host.h

Issue 1974683005: sync compositor: Async scroll offset IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: early out Created 4 years, 7 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
« no previous file with comments | « no previous file | content/browser/android/synchronous_compositor_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_
6 #define CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ 6 #define CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 IPC::Sender* const sender_; 103 IPC::Sender* const sender_;
104 const bool async_input_; 104 const bool async_input_;
105 const bool use_in_process_zero_copy_software_draw_; 105 const bool use_in_process_zero_copy_software_draw_;
106 106
107 bool is_active_; 107 bool is_active_;
108 size_t bytes_limit_; 108 size_t bytes_limit_;
109 std::unique_ptr<SharedMemoryWithSize> software_draw_shm_; 109 std::unique_ptr<SharedMemoryWithSize> software_draw_shm_;
110 110
111 // Updated by both renderer and browser. 111 // Updated by both renderer and browser.
112 gfx::ScrollOffset root_scroll_offset_; 112 gfx::ScrollOffset root_scroll_offset_;
113 bool root_scroll_offset_updated_by_browser_;
114 113
115 // From renderer. 114 // From renderer.
116 uint32_t renderer_param_version_; 115 uint32_t renderer_param_version_;
117 bool need_animate_scroll_; 116 bool need_animate_scroll_;
118 uint32_t need_invalidate_count_; 117 uint32_t need_invalidate_count_;
119 bool need_begin_frame_; 118 bool need_begin_frame_;
120 uint32_t did_activate_pending_tree_count_; 119 uint32_t did_activate_pending_tree_count_;
121 120
122 base::WeakPtrFactory<SynchronousCompositorHost> weak_ptr_factory_; 121 base::WeakPtrFactory<SynchronousCompositorHost> weak_ptr_factory_;
123 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorHost); 122 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorHost);
124 }; 123 };
125 124
126 } // namespace content 125 } // namespace content
127 126
128 #endif // CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ 127 #endif // CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/synchronous_compositor_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698