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

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

Issue 900073003: cc: Rework how picture layer tiling set gets into raster queues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unrelated changes Created 5 years, 10 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 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 const gfx::PointF& screen_space_point); 293 const gfx::PointF& screen_space_point);
294 294
295 void RegisterSelection(const LayerSelectionBound& start, 295 void RegisterSelection(const LayerSelectionBound& start,
296 const LayerSelectionBound& end); 296 const LayerSelectionBound& end);
297 297
298 // Compute the current selection handle location and visbility with respect to 298 // Compute the current selection handle location and visbility with respect to
299 // the viewport. 299 // the viewport.
300 void GetViewportSelection(ViewportSelectionBound* start, 300 void GetViewportSelection(ViewportSelectionBound* start,
301 ViewportSelectionBound* end); 301 ViewportSelectionBound* end);
302 302
303 void RegisterPictureLayerImpl(PictureLayerImpl* layer);
304 void UnregisterPictureLayerImpl(PictureLayerImpl* layer);
305
306 void set_top_controls_shrink_blink_size(bool shrink) { 303 void set_top_controls_shrink_blink_size(bool shrink) {
307 top_controls_shrink_blink_size_ = shrink; 304 top_controls_shrink_blink_size_ = shrink;
308 } 305 }
309 void set_top_controls_height(float height) { top_controls_height_ = height; } 306 void set_top_controls_height(float height) { top_controls_height_ = height; }
310 void set_top_controls_content_offset(float offset) { 307 void set_top_controls_content_offset(float offset) {
311 top_controls_content_offset_ = offset; 308 top_controls_content_offset_ = offset;
312 } 309 }
313 void set_top_controls_delta(float delta) { 310 void set_top_controls_delta(float delta) {
314 top_controls_delta_ = delta; 311 top_controls_delta_ = delta;
315 } 312 }
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 421
425 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 422 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
426 423
427 private: 424 private:
428 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 425 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
429 }; 426 };
430 427
431 } // namespace cc 428 } // namespace cc
432 429
433 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 430 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698