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

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

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove semicolon from end of message declaration 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 | Annotate | Revision Log
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/trees/layer_tree_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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 bool buffered_updates() const { 218 bool buffered_updates() const {
219 return settings_.max_partial_texture_updates != 219 return settings_.max_partial_texture_updates !=
220 std::numeric_limits<size_t>::max(); 220 std::numeric_limits<size_t>::max();
221 } 221 }
222 bool RequestPartialTextureUpdate(); 222 bool RequestPartialTextureUpdate();
223 223
224 void SetDeviceScaleFactor(float device_scale_factor); 224 void SetDeviceScaleFactor(float device_scale_factor);
225 float device_scale_factor() const { return device_scale_factor_; } 225 float device_scale_factor() const { return device_scale_factor_; }
226 226
227 void EnableHidingTopControls(bool enable); 227 void EnableHidingTopControls(bool enable);
228 void ShowTopControls(bool show);
228 229
229 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } 230 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
230 231
231 Proxy* proxy() const { return proxy_.get(); } 232 Proxy* proxy() const { return proxy_.get(); }
232 233
233 AnimationRegistrar* animation_registrar() const { 234 AnimationRegistrar* animation_registrar() const {
234 return animation_registrar_.get(); 235 return animation_registrar_.get();
235 } 236 }
236 237
237 skia::RefPtr<SkPicture> CapturePicture(); 238 skia::RefPtr<SkPicture> CapturePicture();
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 base::TimeDelta duration; 335 base::TimeDelta duration;
335 }; 336 };
336 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 337 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
337 338
338 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 339 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
339 }; 340 };
340 341
341 } // namespace cc 342 } // namespace cc
342 343
343 #endif // CC_TREES_LAYER_TREE_HOST_H_ 344 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698