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

Unified Diff: views/layer_helper.h

Issue 7845033: Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « ui/gfx/compositor/test_compositor_host_win.cc ('k') | views/layer_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/layer_helper.h
===================================================================
--- views/layer_helper.h (revision 100773)
+++ views/layer_helper.h (working copy)
@@ -42,14 +42,6 @@
}
const gfx::Rect& clip_rect() const { return clip_rect_; }
- // If true, the layer's bitmap is out of date and needs to be updated.
- void set_bitmap_needs_updating(bool value) {
- bitmap_needs_updating_ = value;
- }
- bool bitmap_needs_updating() const {
- return bitmap_needs_updating_;
- }
-
// If true the layer was explicitly turned on.
void set_paint_to_layer(bool value) { paint_to_layer_ = value; }
bool paint_to_layer() const { return paint_to_layer_; }
@@ -79,10 +71,6 @@
}
bool layer_updated_externally() const { return layer_updated_externally_; }
- // If true the complete bounds of the view needs to be painted.
- void set_needs_paint_all(bool value) { needs_paint_all_ = value; }
- bool needs_paint_all() const { return needs_paint_all_; }
-
// Returns true if the layer needs to be used.
bool ShouldPaintToLayer() const;
@@ -100,9 +88,6 @@
// TODO(sky): this should be passed into paint.
gfx::Rect clip_rect_;
- // Is the layers bitmap out of date?
- bool bitmap_needs_updating_;
-
bool fills_bounds_opaquely_;
// If true the bitmap is always up to date.
« no previous file with comments | « ui/gfx/compositor/test_compositor_host_win.cc ('k') | views/layer_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698