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

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

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 std::numeric_limits<size_t>::max(); 222 std::numeric_limits<size_t>::max();
223 } 223 }
224 bool RequestPartialTextureUpdate(); 224 bool RequestPartialTextureUpdate();
225 225
226 void SetDeviceScaleFactor(float device_scale_factor); 226 void SetDeviceScaleFactor(float device_scale_factor);
227 float device_scale_factor() const { return device_scale_factor_; } 227 float device_scale_factor() const { return device_scale_factor_; }
228 228
229 void UpdateTopControlsState(bool enable_hiding, 229 void UpdateTopControlsState(bool enable_hiding,
230 bool enable_showing, 230 bool enable_showing,
231 bool animate); 231 bool animate);
232 void ShowTopControls(bool show);
232 233
233 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } 234 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
234 235
235 Proxy* proxy() const { return proxy_.get(); } 236 Proxy* proxy() const { return proxy_.get(); }
236 237
237 AnimationRegistrar* animation_registrar() const { 238 AnimationRegistrar* animation_registrar() const {
238 return animation_registrar_.get(); 239 return animation_registrar_.get();
239 } 240 }
240 241
241 skia::RefPtr<SkPicture> CapturePicture(); 242 skia::RefPtr<SkPicture> CapturePicture();
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 base::TimeDelta duration; 333 base::TimeDelta duration;
333 }; 334 };
334 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 335 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
335 336
336 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 337 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
337 }; 338 };
338 339
339 } // namespace cc 340 } // namespace cc
340 341
341 #endif // CC_TREES_LAYER_TREE_HOST_H_ 342 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698