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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, | 548 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, |
549 | 549 |
550 // Sent when a browser action's visibility has changed. The source is the | 550 // Sent when a browser action's visibility has changed. The source is the |
551 // ExtensionPrefs* that changed. The details are a Extension*. | 551 // ExtensionPrefs* that changed. The details are a Extension*. |
552 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, | 552 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, |
553 | 553 |
554 // Sent when a page action's visibility has changed. The source is the | 554 // Sent when a page action's visibility has changed. The source is the |
555 // ExtensionAction* that changed. The details are a WebContents*. | 555 // ExtensionAction* that changed. The details are a WebContents*. |
556 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED, | 556 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED, |
557 | 557 |
| 558 // Sent when an extension command has been removed. The source is the profile |
| 559 // and the details is a std::pair of two std::string objects (an extension ID |
| 560 // and the name of the command being removed). |
| 561 NOTIFICATION_EXTENSION_COMMAND_REMOVED, |
| 562 |
| 563 // Sent when an extension command has been added. The source is the profile |
| 564 // and the details is a std::pair of two std::string objects (an extension ID |
| 565 // and the name of the command being added). |
| 566 NOTIFICATION_EXTENSION_COMMAND_ADDED, |
| 567 |
558 // A new extension RenderViewHost has been registered. The details are | 568 // A new extension RenderViewHost has been registered. The details are |
559 // the RenderViewHost*. | 569 // the RenderViewHost*. |
560 NOTIFICATION_EXTENSION_VIEW_REGISTERED, | 570 NOTIFICATION_EXTENSION_VIEW_REGISTERED, |
561 | 571 |
562 // An extension RenderViewHost has been unregistered. The details are | 572 // An extension RenderViewHost has been unregistered. The details are |
563 // the RenderViewHost*. | 573 // the RenderViewHost*. |
564 NOTIFICATION_EXTENSION_VIEW_UNREGISTERED, | 574 NOTIFICATION_EXTENSION_VIEW_UNREGISTERED, |
565 | 575 |
566 // Sent by an extension to notify the browser about the results of a unit | 576 // Sent by an extension to notify the browser about the results of a unit |
567 // test. | 577 // test. |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 // Currently only Content and Chrome define and use notifications. | 1183 // Currently only Content and Chrome define and use notifications. |
1174 // Custom notifications not belonging to Content and Chrome should start | 1184 // Custom notifications not belonging to Content and Chrome should start |
1175 // from here. | 1185 // from here. |
1176 NOTIFICATION_CHROME_END, | 1186 NOTIFICATION_CHROME_END, |
1177 }; | 1187 }; |
1178 | 1188 |
1179 } // namespace chrome | 1189 } // namespace chrome |
1180 | 1190 |
1181 | 1191 |
1182 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1192 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |