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

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: Upload again after sync. 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 std::numeric_limits<size_t>::max(); 223 std::numeric_limits<size_t>::max();
224 } 224 }
225 bool RequestPartialTextureUpdate(); 225 bool RequestPartialTextureUpdate();
226 226
227 void SetDeviceScaleFactor(float device_scale_factor); 227 void SetDeviceScaleFactor(float device_scale_factor);
228 float device_scale_factor() const { return device_scale_factor_; } 228 float device_scale_factor() const { return device_scale_factor_; }
229 229
230 void UpdateTopControlsState(bool enable_hiding, 230 void UpdateTopControlsState(bool enable_hiding,
231 bool enable_showing, 231 bool enable_showing,
232 bool animate); 232 bool animate);
233 void ShowTopControls(bool show);
palmer 2013/04/16 17:12:43 #ifdef for Android?
233 234
234 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } 235 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
235 236
236 Proxy* proxy() const { return proxy_.get(); } 237 Proxy* proxy() const { return proxy_.get(); }
237 238
238 AnimationRegistrar* animation_registrar() const { 239 AnimationRegistrar* animation_registrar() const {
239 return animation_registrar_.get(); 240 return animation_registrar_.get();
240 } 241 }
241 242
242 skia::RefPtr<SkPicture> CapturePicture(); 243 skia::RefPtr<SkPicture> CapturePicture();
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 339 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
339 340
340 bool in_paint_layer_contents_; 341 bool in_paint_layer_contents_;
341 342
342 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 343 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
343 }; 344 };
344 345
345 } // namespace cc 346 } // namespace cc
346 347
347 #endif // CC_TREES_LAYER_TREE_HOST_H_ 348 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698