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

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 12552004: Support bottom-right anchored fixed-position elements during a pinch gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot to save the comments. sorry. :( Created 7 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
« no previous file with comments | « cc/trees/layer_tree_host_common_unittest.cc ('k') | cc/trees/layer_tree_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 CC_TREES_LAYER_TREE_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 void UpdateSolidColorScrollbars(); 204 void UpdateSolidColorScrollbars();
205 205
206 // Hide existence of pinch-zoom scrollbars. 206 // Hide existence of pinch-zoom scrollbars.
207 void UpdatePinchZoomScrollbars(); 207 void UpdatePinchZoomScrollbars();
208 void FadeInPinchZoomScrollbars(); 208 void FadeInPinchZoomScrollbars();
209 void FadeOutPinchZoomScrollbars(); 209 void FadeOutPinchZoomScrollbars();
210 ScrollbarLayerImpl* PinchZoomScrollbarHorizontal(); 210 ScrollbarLayerImpl* PinchZoomScrollbarHorizontal();
211 ScrollbarLayerImpl* PinchZoomScrollbarVertical(); 211 ScrollbarLayerImpl* PinchZoomScrollbarVertical();
212 bool HasPinchZoomScrollbars() const; 212 bool HasPinchZoomScrollbars() const;
213 213
214 void UpdateRootScrollLayerSizeDelta();
215
214 LayerTreeHostImpl* layer_tree_host_impl_; 216 LayerTreeHostImpl* layer_tree_host_impl_;
215 int source_frame_number_; 217 int source_frame_number_;
216 scoped_ptr<LayerImpl> root_layer_; 218 scoped_ptr<LayerImpl> root_layer_;
217 HeadsUpDisplayLayerImpl* hud_layer_; 219 HeadsUpDisplayLayerImpl* hud_layer_;
218 LayerImpl* root_scroll_layer_; 220 LayerImpl* root_scroll_layer_;
219 LayerImpl* currently_scrolling_layer_; 221 LayerImpl* currently_scrolling_layer_;
220 SkColor background_color_; 222 SkColor background_color_;
221 bool has_transparent_background_; 223 bool has_transparent_background_;
222 224
223 int pinch_zoom_scrollbar_horizontal_layer_id_; 225 int pinch_zoom_scrollbar_horizontal_layer_id_;
(...skipping 22 matching lines...) Expand all
246 // In impl-side painting mode, this is true when the tree may contain 248 // In impl-side painting mode, this is true when the tree may contain
247 // structural differences relative to the active tree. 249 // structural differences relative to the active tree.
248 bool needs_full_tree_sync_; 250 bool needs_full_tree_sync_;
249 251
250 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 252 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
251 }; 253 };
252 254
253 } // namespace cc 255 } // namespace cc
254 256
255 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 257 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_common_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698