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 | 7 |
8 #include "content/public/browser/notification_types.h" | 8 #include "content/public/browser/notification_types.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 // Sent when an extension command has been removed. The source is the profile | 582 // Sent when an extension command has been removed. The source is the profile |
583 // and the details is a std::pair of two std::string objects (an extension ID | 583 // and the details is a std::pair of two std::string objects (an extension ID |
584 // and the name of the command being removed). | 584 // and the name of the command being removed). |
585 NOTIFICATION_EXTENSION_COMMAND_REMOVED, | 585 NOTIFICATION_EXTENSION_COMMAND_REMOVED, |
586 | 586 |
587 // Sent when an extension command has been added. The source is the profile | 587 // Sent when an extension command has been added. The source is the profile |
588 // and the details is a std::pair of two std::string objects (an extension ID | 588 // and the details is a std::pair of two std::string objects (an extension ID |
589 // and the name of the command being added). | 589 // and the name of the command being added). |
590 NOTIFICATION_EXTENSION_COMMAND_ADDED, | 590 NOTIFICATION_EXTENSION_COMMAND_ADDED, |
591 | 591 |
| 592 // Sent when an extension command shortcut for a browser action is activated |
| 593 // on Mac. The source is the profile and the details is a std::string |
| 594 // containing an extension ID. |
| 595 NOTIFICATION_EXTENSION_COMMAND_BROWSER_ACTION_MAC, |
| 596 |
| 597 // Sent when an extension command shortcut for a page action is activated |
| 598 // on Mac. The source is the profile and the details is a std::string |
| 599 // containing an extension ID. |
| 600 NOTIFICATION_EXTENSION_COMMAND_PAGE_ACTION_MAC, |
| 601 |
| 602 // Sent when an extension command shortcut for a script badge is activated |
| 603 // on Mac. The source is the profile and the details is a std::string |
| 604 // containing an extension ID. |
| 605 NOTIFICATION_EXTENSION_COMMAND_SCRIPT_BADGE_MAC, |
| 606 |
592 // A new extension RenderViewHost has been registered. The details are | 607 // A new extension RenderViewHost has been registered. The details are |
593 // the RenderViewHost*. | 608 // the RenderViewHost*. |
594 NOTIFICATION_EXTENSION_VIEW_REGISTERED, | 609 NOTIFICATION_EXTENSION_VIEW_REGISTERED, |
595 | 610 |
596 // An extension RenderViewHost has been unregistered. The details are | 611 // An extension RenderViewHost has been unregistered. The details are |
597 // the RenderViewHost*. | 612 // the RenderViewHost*. |
598 NOTIFICATION_EXTENSION_VIEW_UNREGISTERED, | 613 NOTIFICATION_EXTENSION_VIEW_UNREGISTERED, |
599 | 614 |
600 // Sent by an extension to notify the browser about the results of a unit | 615 // Sent by an extension to notify the browser about the results of a unit |
601 // test. | 616 // test. |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 // Currently only Content and Chrome define and use notifications. | 1252 // Currently only Content and Chrome define and use notifications. |
1238 // Custom notifications not belonging to Content and Chrome should start | 1253 // Custom notifications not belonging to Content and Chrome should start |
1239 // from here. | 1254 // from here. |
1240 NOTIFICATION_CHROME_END, | 1255 NOTIFICATION_CHROME_END, |
1241 }; | 1256 }; |
1242 | 1257 |
1243 } // namespace chrome | 1258 } // namespace chrome |
1244 | 1259 |
1245 | 1260 |
1246 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1261 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |