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

Unified Diff: content/browser/web_contents/aura/shadow_layer_delegate.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: content/browser/web_contents/aura/shadow_layer_delegate.h
diff --git a/content/browser/web_contents/aura/shadow_layer_delegate.h b/content/browser/web_contents/aura/shadow_layer_delegate.h
index 22659d91f1165e50b5a6e712fbe04315267bb26e..41418b566a5c549160927d509d88f6ed37b9e555 100644
--- a/content/browser/web_contents/aura/shadow_layer_delegate.h
+++ b/content/browser/web_contents/aura/shadow_layer_delegate.h
@@ -33,6 +33,8 @@ class ShadowLayerDelegate : public ui::LayerDelegate {
private:
// Overridden from ui::LayerDelegate:
virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnDelegatedFrameDamage(
+ 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