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

Unified Diff: chrome/common/notification_type.h

Issue 6010004: Refactor RenderWidgetHost::set_paint_observer() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove helper classes per review Created 9 years, 11 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: chrome/common/notification_type.h
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index 8dbc2a3d21968ab96ce96723d81e37043c90c290..942da02d62c84ee4d43e63e684ec936a2222a6e1 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -444,6 +444,28 @@ class NotificationType {
// the RenderWidgetHost, the details are not used.
RENDER_WIDGET_HOST_DESTROYED,
+ // Sent when the widget is about to paint. The source is the
+ // RenderWidgetHost, the details are not used.
+ RENDER_WIDGET_HOST_WILL_PAINT,
+
+ // Sent after the widget has painted. The source is the RenderWidgetHost,
+ // the details are not used.
+ RENDER_WIDGET_HOST_DID_PAINT,
+
+ // Indicates the RenderWidgetHost is about to destroy the backing store. The
+ // backing store will still be valid when this call is made. The source is
+ // the RenderWidgetHost, the details is the BackingStore.
+ RENDER_WIDGET_HOST_WILL_DESTROY_BACKING_STORE,
+
+ // Indicates that the RenderWidgetHost just updated the backing store. The
+ // source is the RenderWidgetHost, the details are not used.
+ RENDER_WIDGET_HOST_DID_UPDATE_BACKING_STORE,
+
+ // This notifies the observer that a PaintAtSizeACK was received. The source
+ // is the RenderWidgetHost, the details are an instance of
+ // RenderWidgetHost::PaintAtSizeAckDetails.
+ RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK,
+
// Sent from ~RenderViewHost. The source is the TabContents.
RENDER_VIEW_HOST_DELETED,

Powered by Google App Engine
This is Rietveld 408576698