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

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: Added comments Created 10 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 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 8564063f510b05ade643a53bb22f49a9da5c5c37..1c19478700b34e3a9e179c95a7b2b440663edfe2 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -454,6 +454,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