| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This file describes various types used to describe and filter notifications | 9 // This file describes various types used to describe and filter notifications |
| 10 // that pass through the NotificationService. | 10 // that pass through the NotificationService. |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 // drop operation was received. The source is the RenderViewHost. | 350 // drop operation was received. The source is the RenderViewHost. |
| 351 // Note: Used only in testing. | 351 // Note: Used only in testing. |
| 352 NOTIFICATION_RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK, | 352 NOTIFICATION_RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK, |
| 353 | 353 |
| 354 // Indicates a RenderWidgetHost has been hidden or restored. The source is | 354 // Indicates a RenderWidgetHost has been hidden or restored. The source is |
| 355 // the RWH whose visibility changed, the details is a bool set to true if | 355 // the RWH whose visibility changed, the details is a bool set to true if |
| 356 // the new state is "visible." | 356 // the new state is "visible." |
| 357 NOTIFICATION_RENDER_WIDGET_VISIBILITY_CHANGED, | 357 NOTIFICATION_RENDER_WIDGET_VISIBILITY_CHANGED, |
| 358 | 358 |
| 359 // The focused element inside a page has changed. The source is the | 359 // The focused element inside a page has changed. The source is the |
| 360 // RenderViewHost. The details is a Details<const bool> that indicates whether | 360 // TabContents containing the render view host for the page. The details is |
| 361 // or not an editable node was focused. | 361 // a Details<const bool> that indicates whether or not an editable node was |
| 362 // focused. |
| 362 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, | 363 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
| 363 | 364 |
| 364 // Notification posted from ExecuteJavascriptInWebFrameNotifyResult. The | 365 // Notification posted from ExecuteJavascriptInWebFrameNotifyResult. The |
| 365 // source is the RenderViewHost ExecuteJavascriptInWebFrameNotifyResult was | 366 // source is the RenderViewHost ExecuteJavascriptInWebFrameNotifyResult was |
| 366 // invoked on. The details are a std::pair<int, Value*> with the int giving | 367 // invoked on. The details are a std::pair<int, Value*> with the int giving |
| 367 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the | 368 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the |
| 368 // Value the results of the javascript expression. The Value is owned by | 369 // Value the results of the javascript expression. The Value is owned by |
| 369 // RenderViewHost and may be a Null Value. | 370 // RenderViewHost and may be a Null Value. |
| 370 NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, | 371 NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, |
| 371 | 372 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 // of a temporary zoom level change, the details is an empty string. | 423 // of a temporary zoom level change, the details is an empty string. |
| 423 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 424 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 424 | 425 |
| 425 // Custom notifications used by the embedder should start from here. | 426 // Custom notifications used by the embedder should start from here. |
| 426 NOTIFICATION_CONTENT_END, | 427 NOTIFICATION_CONTENT_END, |
| 427 }; | 428 }; |
| 428 | 429 |
| 429 } // namespace content | 430 } // namespace content |
| 430 | 431 |
| 431 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 432 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |