Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: chrome/common/chrome_notification_types.h

Issue 12314164: Modified Omnibox extension api to use JSON Schema Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced include with forward declaration Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/common/extensions/api/omnibox.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/common/extensions/api/omnibox.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698