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

Side by Side Diff: cc/layer_tree_impl.h

Issue 12082012: Implement desktop compatibility viewport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aelias
Patch Set: Created 7 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
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/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_LAYER_TREE_IMPL_H_ 5 #ifndef CC_LAYER_TREE_IMPL_H_
6 #define CC_LAYER_TREE_IMPL_H_ 6 #define CC_LAYER_TREE_IMPL_H_
7 7
8 #include "base/hash_tables.h" 8 #include "base/hash_tables.h"
9 #include "cc/layer_impl.h" 9 #include "cc/layer_impl.h"
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 LayerImpl* RootScrollLayer(); 95 LayerImpl* RootScrollLayer();
96 LayerImpl* CurrentlyScrollingLayer(); 96 LayerImpl* CurrentlyScrollingLayer();
97 void set_currently_scrolling_layer(LayerImpl* layer) { 97 void set_currently_scrolling_layer(LayerImpl* layer) {
98 currently_scrolling_layer_ = layer; 98 currently_scrolling_layer_ = layer;
99 } 99 }
100 100
101 void ClearCurrentlyScrollingLayer(); 101 void ClearCurrentlyScrollingLayer();
102 102
103 void FindRootScrollLayer(); 103 void FindRootScrollLayer();
104 void UpdateMaxScrollOffset(); 104 void UpdateMaxScrollOffset();
105 void UpdateFixedPositionViewport();
105 106
106 SkColor background_color() const { return background_color_; } 107 SkColor background_color() const { return background_color_; }
107 void set_background_color(SkColor color) { background_color_ = color; } 108 void set_background_color(SkColor color) { background_color_ = color; }
108 109
109 bool has_transparent_background() const { 110 bool has_transparent_background() const {
110 return has_transparent_background_; 111 return has_transparent_background_;
111 } 112 }
112 void set_has_transparent_background(bool transparent) { 113 void set_has_transparent_background(bool transparent) {
113 has_transparent_background_ = transparent; 114 has_transparent_background_ = transparent;
114 } 115 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 LayerList render_surface_layer_list_; 167 LayerList render_surface_layer_list_;
167 168
168 bool contents_textures_purged_; 169 bool contents_textures_purged_;
169 170
170 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 171 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
171 }; 172 };
172 173
173 } 174 }
174 175
175 #endif // CC_LAYER_TREE_IMPL_H_ 176 #endif // CC_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698