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

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

Issue 1001002: Initial support for inspecting extension popups. (Closed)
Patch Set: pre submit Created 10 years, 9 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/chrome_browser.gypi ('k') | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_
7 7
8 // This file describes various types used to describe and filter notifications 8 // This file describes various types used to describe and filter notifications
9 // that pass through the NotificationService. 9 // that pass through the NotificationService.
10 // 10 //
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 // This message is sent when the application is terminating (Mac OS X only 213 // This message is sent when the application is terminating (Mac OS X only
214 // at present). No source or details are passed. 214 // at present). No source or details are passed.
215 APP_TERMINATING, 215 APP_TERMINATING,
216 #endif 216 #endif
217 217
218 // Indicates that a top window has been closed. The source is the HWND 218 // Indicates that a top window has been closed. The source is the HWND
219 // that was closed, no details are expected. 219 // that was closed, no details are expected.
220 WINDOW_CLOSED, 220 WINDOW_CLOSED,
221 221
222 // Indicates that a devtools window is closing. The source is the Profile*
223 // and the details is the inspected RenderViewHost*.
224 DEVTOOLS_WINDOW_CLOSING,
225
222 // Sent when an info bubble has been created but not yet shown. The source 226 // Sent when an info bubble has been created but not yet shown. The source
223 // is the InfoBubble. 227 // is the InfoBubble.
224 INFO_BUBBLE_CREATED, 228 INFO_BUBBLE_CREATED,
225 229
226 // Sent when the language (English, French...) for a page has been detected. 230 // Sent when the language (English, French...) for a page has been detected.
227 // The details Details<std::string> contain the ISO 639-1 language code and 231 // The details Details<std::string> contain the ISO 639-1 language code and
228 // the source is Source<TabContents>. 232 // the source is Source<TabContents>.
229 TAB_LANGUAGE_DETERMINED, 233 TAB_LANGUAGE_DETERMINED,
230 234
231 // Sent when a page has been translated. The source is the tab for that page 235 // Sent when a page has been translated. The source is the tab for that page
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 }; 897 };
894 898
895 inline bool operator==(NotificationType::Type a, NotificationType b) { 899 inline bool operator==(NotificationType::Type a, NotificationType b) {
896 return a == b.value; 900 return a == b.value;
897 } 901 }
898 inline bool operator!=(NotificationType::Type a, NotificationType b) { 902 inline bool operator!=(NotificationType::Type a, NotificationType b) {
899 return a != b.value; 903 return a != b.value;
900 } 904 }
901 905
902 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 906 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698