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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 23171014: Fix UpdateTilePriorities viewport in Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 4dfc51110520c23755ce58e142d3b5ec135e4cd9..7b0011c2c8455ab20e15aef8a70942f79f595348 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -66,6 +66,7 @@ class CC_EXPORT LayerTreeImpl {
FrameRateCounter* frame_rate_counter() const;
PaintTimeCounter* paint_time_counter() const;
MemoryHistory* memory_history() const;
+ bool device_viewport_valid_for_tile_management() const;
bool IsActiveTree() const;
bool IsPendingTree() const;
bool IsRecycleTree() const;
@@ -77,6 +78,7 @@ class CC_EXPORT LayerTreeImpl {
base::Time CurrentFrameTime() const;
base::TimeTicks CurrentPhysicalTimeTicks() const;
void SetNeedsCommit();
+ gfx::Rect DeviceViewport() const;
// Tree specific methods exposed to layer-impl tree.
// ---------------------------------------------------------------------------
@@ -86,7 +88,6 @@ class CC_EXPORT LayerTreeImpl {
// trivial accessors in a followup patch.
const LayerTreeDebugState& debug_state() const;
float device_scale_factor() const;
- gfx::Size device_viewport_size() const;
DebugRectHistory* debug_rect_history() const;
scoped_ptr<base::Value> AsValue() const;

Powered by Google App Engine
This is Rietveld 408576698