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

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

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

Powered by Google App Engine
This is Rietveld 408576698