| 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_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 "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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 // The source is the id of the extension that invoked the function, and the | 631 // The source is the id of the extension that invoked the function, and the |
| 632 // details are a pointer to the const BookmarksFunction in question. | 632 // details are a pointer to the const BookmarksFunction in question. |
| 633 NOTIFICATION_EXTENSION_BOOKMARKS_API_INVOKED, | 633 NOTIFICATION_EXTENSION_BOOKMARKS_API_INVOKED, |
| 634 | 634 |
| 635 // Sent when a downloads extensions API event is fired. The source is an | 635 // Sent when a downloads extensions API event is fired. The source is an |
| 636 // ExtensionDownloadsEventRouter::NotificationSource, and the details is a | 636 // ExtensionDownloadsEventRouter::NotificationSource, and the details is a |
| 637 // std::string containing json. Used for testing. | 637 // std::string containing json. Used for testing. |
| 638 NOTIFICATION_EXTENSION_DOWNLOADS_EVENT, | 638 NOTIFICATION_EXTENSION_DOWNLOADS_EVENT, |
| 639 | 639 |
| 640 // Sent when an omnibox extension has sent back omnibox suggestions. The | 640 // Sent when an omnibox extension has sent back omnibox suggestions. The |
| 641 // source is the profile, and the details are an ExtensionOmniboxSuggestions | 641 // source is the profile, and the details are an |
| 642 // object. | 642 // extensions::api::omnibox::SendSuggestions::Params object. |
| 643 NOTIFICATION_EXTENSION_OMNIBOX_SUGGESTIONS_READY, | 643 NOTIFICATION_EXTENSION_OMNIBOX_SUGGESTIONS_READY, |
| 644 | 644 |
| 645 // Sent when the user accepts the input in an extension omnibox keyword | 645 // Sent when the user accepts the input in an extension omnibox keyword |
| 646 // session. The source is the profile. | 646 // session. The source is the profile. |
| 647 NOTIFICATION_EXTENSION_OMNIBOX_INPUT_ENTERED, | 647 NOTIFICATION_EXTENSION_OMNIBOX_INPUT_ENTERED, |
| 648 | 648 |
| 649 // Sent when an omnibox extension has updated the default suggestion. The | 649 // Sent when an omnibox extension has updated the default suggestion. The |
| 650 // source is the profile. | 650 // source is the profile. |
| 651 NOTIFICATION_EXTENSION_OMNIBOX_DEFAULT_SUGGESTION_CHANGED, | 651 NOTIFICATION_EXTENSION_OMNIBOX_DEFAULT_SUGGESTION_CHANGED, |
| 652 | 652 |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1228 // Note:- | 1228 // Note:- |
| 1229 // Currently only Content and Chrome define and use notifications. | 1229 // Currently only Content and Chrome define and use notifications. |
| 1230 // Custom notifications not belonging to Content and Chrome should start | 1230 // Custom notifications not belonging to Content and Chrome should start |
| 1231 // from here. | 1231 // from here. |
| 1232 NOTIFICATION_CHROME_END, | 1232 NOTIFICATION_CHROME_END, |
| 1233 }; | 1233 }; |
| 1234 | 1234 |
| 1235 } // namespace chrome | 1235 } // namespace chrome |
| 1236 | 1236 |
| 1237 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1237 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |