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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
314 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the | 314 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the |
315 // Value the results of the javascript expression. The Value is owned by | 315 // Value the results of the javascript expression. The Value is owned by |
316 // RenderViewHost and may be a Null Value. | 316 // RenderViewHost and may be a Null Value. |
317 NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, | 317 NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, |
318 | 318 |
319 // Notification from WebContents that we have received a response from the | 319 // Notification from WebContents that we have received a response from the |
320 // renderer in response to a dom automation controller action. The source is | 320 // renderer in response to a dom automation controller action. The source is |
321 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 321 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
322 NOTIFICATION_DOM_OPERATION_RESPONSE, | 322 NOTIFICATION_DOM_OPERATION_RESPONSE, |
323 | 323 |
324 // Notification from WebContents that its user agent override has been | |
325 // changed. | |
326 NOTIFICATION_WEB_CONTENTS_USER_AGENT_OVERRIDE_CHANGED, | |
Charlie Reis
2012/08/15 17:24:23
John is typically against adding new notifications
| |
327 | |
324 // Child Processes --------------------------------------------------------- | 328 // Child Processes --------------------------------------------------------- |
325 | 329 |
326 // This notification is sent when a child process host has connected to a | 330 // This notification is sent when a child process host has connected to a |
327 // child process. There is no usable source, since it is sent from an | 331 // child process. There is no usable source, since it is sent from an |
328 // ephemeral task; register for AllSources() to receive this notification. | 332 // ephemeral task; register for AllSources() to receive this notification. |
329 // The details are in a Details<ChildProcessData>. | 333 // The details are in a Details<ChildProcessData>. |
330 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, | 334 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, |
331 | 335 |
332 // This message is sent after a ChildProcessHost is disconnected from the | 336 // This message is sent after a ChildProcessHost is disconnected from the |
333 // child process. There is no usable source, since it is sent from an | 337 // child process. There is no usable source, since it is sent from an |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
368 // of a temporary zoom level change, the details is an empty string. | 372 // of a temporary zoom level change, the details is an empty string. |
369 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 373 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
370 | 374 |
371 // Custom notifications used by the embedder should start from here. | 375 // Custom notifications used by the embedder should start from here. |
372 NOTIFICATION_CONTENT_END, | 376 NOTIFICATION_CONTENT_END, |
373 }; | 377 }; |
374 | 378 |
375 } // namespace content | 379 } // namespace content |
376 | 380 |
377 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 381 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |