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

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

Issue 819643004: Cache viewport rect for tile priority in UpdateTiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | cc/trees/layer_tree_impl.cc » ('j') | cc/trees/layer_tree_impl.cc » ('J')
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_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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 bool top_controls_shrink_blink_size_; 405 bool top_controls_shrink_blink_size_;
406 406
407 float top_controls_height_; 407 float top_controls_height_;
408 408
409 // The up-to-date content offset of the top controls, i.e. the amount that the 409 // The up-to-date content offset of the top controls, i.e. the amount that the
410 // web contents have been shifted down from the top of the device viewport. 410 // web contents have been shifted down from the top of the device viewport.
411 float top_controls_content_offset_; 411 float top_controls_content_offset_;
412 float top_controls_delta_; 412 float top_controls_delta_;
413 float sent_top_controls_delta_; 413 float sent_top_controls_delta_;
414 414
415 // The cached viewport rect for tile priority since the last call of
416 // UpdateDrawProperties.
417 gfx::Rect viewport_rect_for_tile_priority_;
415 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 418 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
416 419
417 private: 420 private:
418 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 421 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
419 }; 422 };
420 423
421 } // namespace cc 424 } // namespace cc
422 425
423 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 426 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_impl.cc » ('j') | cc/trees/layer_tree_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698