OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
10 // | 10 // |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
172 NOTIFICATION_RENDER_WIDGET_HOST_HANG, | 172 NOTIFICATION_RENDER_WIDGET_HOST_HANG, |
173 | 173 |
174 // This is sent when a RenderWidgetHost is being destroyed. The source is | 174 // This is sent when a RenderWidgetHost is being destroyed. The source is |
175 // the RenderWidgetHost, the details are not used. | 175 // the RenderWidgetHost, the details are not used. |
176 NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED, | 176 NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED, |
177 | 177 |
178 // Sent after the backing store has been updated but before the widget has | 178 // Sent after the backing store has been updated but before the widget has |
179 // painted. The source is the RenderWidgetHost, the details are not used. | 179 // painted. The source is the RenderWidgetHost, the details are not used. |
180 NOTIFICATION_RENDER_WIDGET_HOST_DID_UPDATE_BACKING_STORE, | 180 NOTIFICATION_RENDER_WIDGET_HOST_DID_UPDATE_BACKING_STORE, |
181 | 181 |
182 // This notifies the observer that a PaintAtSizeACK was received. The source | |
183 // is the RenderWidgetHost, the details are an instance of | |
184 // std::pair<int, gfx::Size>. | |
185 NOTIFICATION_RENDER_WIDGET_HOST_DID_RECEIVE_PAINT_AT_SIZE_ACK, | |
Avi (use Gerrit)
2014/02/14 17:01:44
Yes! I'm adding another bug to your bug list, http
| |
186 | |
187 // This notifies the observer that a HandleInputEventACK was received. The | 182 // This notifies the observer that a HandleInputEventACK was received. The |
188 // source is the RenderWidgetHost, the details are the type of event | 183 // source is the RenderWidgetHost, the details are the type of event |
189 // received. | 184 // received. |
190 // Note: The RenderWidgetHost may be deallocated at this point. | 185 // Note: The RenderWidgetHost may be deallocated at this point. |
191 // Used only in testing. | 186 // Used only in testing. |
192 NOTIFICATION_RENDER_WIDGET_HOST_DID_RECEIVE_INPUT_EVENT_ACK, | 187 NOTIFICATION_RENDER_WIDGET_HOST_DID_RECEIVE_INPUT_EVENT_ACK, |
193 | 188 |
194 // Sent from RenderViewHost::ClosePage. The hosted RenderView has | 189 // Sent from RenderViewHost::ClosePage. The hosted RenderView has |
195 // processed the onbeforeunload handler and is about to be sent a | 190 // processed the onbeforeunload handler and is about to be sent a |
196 // ViewMsg_ClosePage message to complete the tear-down process. The source | 191 // ViewMsg_ClosePage message to complete the tear-down process. The source |
(...skipping 22 matching lines...) Expand all Loading... | |
219 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 214 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
220 NOTIFICATION_DOM_OPERATION_RESPONSE, | 215 NOTIFICATION_DOM_OPERATION_RESPONSE, |
221 | 216 |
222 // Custom notifications used by the embedder should start from here. | 217 // Custom notifications used by the embedder should start from here. |
223 NOTIFICATION_CONTENT_END, | 218 NOTIFICATION_CONTENT_END, |
224 }; | 219 }; |
225 | 220 |
226 } // namespace content | 221 } // namespace content |
227 | 222 |
228 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 223 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |