OLD | NEW |
---|---|
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
543 // and the details is a std::pair of two std::string objects (an extension ID | 543 // and the details is a std::pair of two std::string objects (an extension ID |
544 // and the name of the command being added). | 544 // and the name of the command being added). |
545 NOTIFICATION_EXTENSION_COMMAND_ADDED, | 545 NOTIFICATION_EXTENSION_COMMAND_ADDED, |
546 | 546 |
547 // Sent when an extension command shortcut for a browser action is activated | 547 // Sent when an extension command shortcut for a browser action is activated |
548 // on Mac. The source is the profile and the details is a std::pair of a | 548 // on Mac. The source is the profile and the details is a std::pair of a |
549 // std::string containing an extension ID and a gfx::NativeWindow for the | 549 // std::string containing an extension ID and a gfx::NativeWindow for the |
550 // associated window. | 550 // associated window. |
551 NOTIFICATION_EXTENSION_COMMAND_BROWSER_ACTION_MAC, | 551 NOTIFICATION_EXTENSION_COMMAND_BROWSER_ACTION_MAC, |
552 | 552 |
553 NOTIFICATION_EXTENSION_COMMAND_BROWSER_ACTION_SHOW, | |
mark a. foltz
2013/10/07 22:08:14
What are the source and details for the notificati
justinlin
2013/10/09 18:19:32
no longer needed.
| |
554 | |
553 // Sent when an extension command shortcut for a page action is activated | 555 // Sent when an extension command shortcut for a page action is activated |
554 // on Mac. The source is the profile and the details is a std::pair of a | 556 // on Mac. The source is the profile and the details is a std::pair of a |
555 // std::string containing an extension ID and a gfx::NativeWindow for the | 557 // std::string containing an extension ID and a gfx::NativeWindow for the |
556 // associated window. | 558 // associated window. |
557 NOTIFICATION_EXTENSION_COMMAND_PAGE_ACTION_MAC, | 559 NOTIFICATION_EXTENSION_COMMAND_PAGE_ACTION_MAC, |
558 | 560 |
559 // Sent when an extension command shortcut for a script badge is activated | 561 // Sent when an extension command shortcut for a script badge is activated |
560 // on Mac. The source is the profile and the details is a std::pair of a | 562 // on Mac. The source is the profile and the details is a std::pair of a |
561 // std::string containing an extension ID and a gfx::NativeWindow for the | 563 // std::string containing an extension ID and a gfx::NativeWindow for the |
562 // associated window. | 564 // associated window. |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1054 // Note:- | 1056 // Note:- |
1055 // Currently only Content and Chrome define and use notifications. | 1057 // Currently only Content and Chrome define and use notifications. |
1056 // Custom notifications not belonging to Content and Chrome should start | 1058 // Custom notifications not belonging to Content and Chrome should start |
1057 // from here. | 1059 // from here. |
1058 NOTIFICATION_CHROME_END, | 1060 NOTIFICATION_CHROME_END, |
1059 }; | 1061 }; |
1060 | 1062 |
1061 } // namespace chrome | 1063 } // namespace chrome |
1062 | 1064 |
1063 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1065 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |