| 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 CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 | 518 |
| 519 // Sent when the count of page actions has changed. Note that some of them | 519 // Sent when the count of page actions has changed. Note that some of them |
| 520 // may not apply to the current page. The source is a LocationBar*. There | 520 // may not apply to the current page. The source is a LocationBar*. There |
| 521 // are no details. | 521 // are no details. |
| 522 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, | 522 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, |
| 523 | 523 |
| 524 // Sent when a browser action's visibility has changed. The source is the | 524 // Sent when a browser action's visibility has changed. The source is the |
| 525 // ExtensionPrefs* that changed. The details are a Extension*. | 525 // ExtensionPrefs* that changed. The details are a Extension*. |
| 526 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, | 526 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, |
| 527 | 527 |
| 528 // Sent when a browser action's pined state has changed. The source is the |
| 529 // ExtensionPrefs* that changed. The details are a Extension*. |
| 530 NOTIFICATION_EXTENSION_BROWSER_ACTION_PINED_CHANGED, |
| 531 |
| 528 // Sent when a page action's visibility has changed. The source is the | 532 // Sent when a page action's visibility has changed. The source is the |
| 529 // ExtensionAction* that changed. The details are a WebContents*. | 533 // ExtensionAction* that changed. The details are a WebContents*. |
| 530 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED, | 534 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED, |
| 531 | 535 |
| 532 // A new extension RenderViewHost has been registered. The details are | 536 // A new extension RenderViewHost has been registered. The details are |
| 533 // the RenderViewHost*. | 537 // the RenderViewHost*. |
| 534 NOTIFICATION_EXTENSION_VIEW_REGISTERED, | 538 NOTIFICATION_EXTENSION_VIEW_REGISTERED, |
| 535 | 539 |
| 536 // An extension RenderViewHost has been unregistered. The details are | 540 // An extension RenderViewHost has been unregistered. The details are |
| 537 // the RenderViewHost*. | 541 // the RenderViewHost*. |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 // Currently only Content and Chrome define and use notifications. | 1109 // Currently only Content and Chrome define and use notifications. |
| 1106 // Custom notifications not belonging to Content and Chrome should start | 1110 // Custom notifications not belonging to Content and Chrome should start |
| 1107 // from here. | 1111 // from here. |
| 1108 NOTIFICATION_CHROME_END, | 1112 NOTIFICATION_CHROME_END, |
| 1109 }; | 1113 }; |
| 1110 | 1114 |
| 1111 } // namespace chrome | 1115 } // namespace chrome |
| 1112 | 1116 |
| 1113 | 1117 |
| 1114 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1118 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |