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

Unified Diff: ui/views/view.h

Issue 464643003: Stop painting when receiving delegated frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to LayerDelegate interface instead Created 6 years, 4 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: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index bdf4813deb37d2dcc5c27b63ed0379f14ad8e483..c8804c08b1ed312549109689d01cd75d0d57b22e 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1118,6 +1118,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Overridden from ui::LayerDelegate:
virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnDelegatedFrameDamage(
danakj 2014/08/18 20:01:49 sky: Do we need to worry about a view being the ow
sky 2014/08/18 20:17:20 Views can certainly be the owner of layers.
+ const gfx::Rect& damage_rect_in_dip) OVERRIDE {}
virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
virtual base::Closure PrepareForLayerBoundsChange() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698