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

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

Issue 1458703010: Mac: Don't repaint scrollbars every frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Rebase and resolve Created 5 years 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 | « cc/test/fake_scrollbar.cc ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 void SetNeedsDisplayOnAllLayers(); 149 void SetNeedsDisplayOnAllLayers();
150 150
151 void CollectRenderingStats(RenderingStats* stats) const; 151 void CollectRenderingStats(RenderingStats* stats) const;
152 152
153 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { 153 RenderingStatsInstrumentation* rendering_stats_instrumentation() const {
154 return rendering_stats_instrumentation_.get(); 154 return rendering_stats_instrumentation_.get();
155 } 155 }
156 156
157 const RendererCapabilities& GetRendererCapabilities() const; 157 virtual const RendererCapabilities& GetRendererCapabilities() const;
158 158
159 void SetNeedsAnimate(); 159 void SetNeedsAnimate();
160 virtual void SetNeedsUpdateLayers(); 160 virtual void SetNeedsUpdateLayers();
161 virtual void SetNeedsCommit(); 161 virtual void SetNeedsCommit();
162 virtual void SetNeedsFullTreeSync(); 162 virtual void SetNeedsFullTreeSync();
163 virtual void SetNeedsMetaInfoRecomputation( 163 virtual void SetNeedsMetaInfoRecomputation(
164 bool needs_meta_info_recomputation); 164 bool needs_meta_info_recomputation);
165 void SetNeedsRedraw(); 165 void SetNeedsRedraw();
166 void SetNeedsRedrawRect(const gfx::Rect& damage_rect); 166 void SetNeedsRedrawRect(const gfx::Rect& damage_rect);
167 bool CommitRequested() const; 167 bool CommitRequested() const;
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 500
501 uint32_t surface_id_namespace_; 501 uint32_t surface_id_namespace_;
502 uint32_t next_surface_sequence_; 502 uint32_t next_surface_sequence_;
503 503
504 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 504 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
505 }; 505 };
506 506
507 } // namespace cc 507 } // namespace cc
508 508
509 #endif // CC_TREES_LAYER_TREE_HOST_H_ 509 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_scrollbar.cc ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698