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

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

Issue 10542038: Rewrite DownloadsApiTest in C++. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 // sender is a std::string representing the extension id, and the details 570 // sender is a std::string representing the extension id, and the details
571 // are a std::string with some message. This is particularly useful when you 571 // are a std::string with some message. This is particularly useful when you
572 // want to have C++ code wait for javascript code to do something. 572 // want to have C++ code wait for javascript code to do something.
573 NOTIFICATION_EXTENSION_TEST_MESSAGE, 573 NOTIFICATION_EXTENSION_TEST_MESSAGE,
574 574
575 // Sent when an bookmarks extensions API function was successfully invoked. 575 // Sent when an bookmarks extensions API function was successfully invoked.
576 // The source is the id of the extension that invoked the function, and the 576 // The source is the id of the extension that invoked the function, and the
577 // details are a pointer to the const BookmarksFunction in question. 577 // details are a pointer to the const BookmarksFunction in question.
578 NOTIFICATION_EXTENSION_BOOKMARKS_API_INVOKED, 578 NOTIFICATION_EXTENSION_BOOKMARKS_API_INVOKED,
579 579
580 // Sent when a downloads extensions API event is fired. The source is an
581 // ExtensionDownloadsEventRouter::NotificationSource, and the details is a
582 // std::string containing json. Used for testing.
583 NOTIFICATION_EXTENSION_DOWNLOADS_EVENT,
584
580 // Sent when an omnibox extension has sent back omnibox suggestions. The 585 // Sent when an omnibox extension has sent back omnibox suggestions. The
581 // source is the profile, and the details are an ExtensionOmniboxSuggestions 586 // source is the profile, and the details are an ExtensionOmniboxSuggestions
582 // object. 587 // object.
583 NOTIFICATION_EXTENSION_OMNIBOX_SUGGESTIONS_READY, 588 NOTIFICATION_EXTENSION_OMNIBOX_SUGGESTIONS_READY,
584 589
585 // Sent when the user accepts the input in an extension omnibox keyword 590 // Sent when the user accepts the input in an extension omnibox keyword
586 // session. The source is the profile. 591 // session. The source is the profile.
587 NOTIFICATION_EXTENSION_OMNIBOX_INPUT_ENTERED, 592 NOTIFICATION_EXTENSION_OMNIBOX_INPUT_ENTERED,
588 593
589 // Sent when an omnibox extension has updated the default suggestion. The 594 // Sent when an omnibox extension has updated the default suggestion. The
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 // Currently only Content and Chrome define and use notifications. 1174 // Currently only Content and Chrome define and use notifications.
1170 // Custom notifications not belonging to Content and Chrome should start 1175 // Custom notifications not belonging to Content and Chrome should start
1171 // from here. 1176 // from here.
1172 NOTIFICATION_CHROME_END, 1177 NOTIFICATION_CHROME_END,
1173 }; 1178 };
1174 1179
1175 } // namespace chrome 1180 } // namespace chrome
1176 1181
1177 1182
1178 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1183 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698