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

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

Issue 149460: Convert JavascriptAlertActivatesTab to browser_tests framework. (Closed)
Patch Set: kill duplication Created 11 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
« no previous file with comments | « chrome/browser/browser_uitest.cc ('k') | chrome/test/ui_test_utils.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // Indicates that a top window has been closed. The source is the HWND 199 // Indicates that a top window has been closed. The source is the HWND
200 // that was closed, no details are expected. 200 // that was closed, no details are expected.
201 WINDOW_CLOSED, 201 WINDOW_CLOSED,
202 202
203 // Sent when an info bubble has been created but not yet shown. The source 203 // Sent when an info bubble has been created but not yet shown. The source
204 // is the InfoBubble. 204 // is the InfoBubble.
205 INFO_BUBBLE_CREATED, 205 INFO_BUBBLE_CREATED,
206 206
207 // Sent after a call to RenderViewHost::DeterminePageLanguage. The details 207 // Sent after a call to RenderViewHost::DeterminePageLanguage. The details
208 // are Details<std::string> and the source is Source<RenderViewHost>. 208 // are Details<std::string> and the source is Source<RenderViewHost>.
209 TAB_LANGUAGE_DETERMINED, 209 TAB_LANGUAGE_DETERMINED,
sky 2009/07/10 19:27:05 did you intend to include this in this cr?
210 210
211 // The user has changed the browser theme. 211 // The user has changed the browser theme.
212 BROWSER_THEME_CHANGED, 212 BROWSER_THEME_CHANGED,
213 213
214 // Fired when the active window changes. This is currently only used on 214 // Fired when the active window changes. This is currently only used on
215 // Linux. 215 // Linux.
216 ACTIVE_WINDOW_CHANGED, 216 ACTIVE_WINDOW_CHANGED,
217 217
218 // Application-modal dialogs -----------------------------------------------
219
220 // Sent after an application-modal dialog has been shown. The source
221 // is the dialog.
222 APP_MODAL_DIALOG_SHOWN,
223
224 // Sent after an application-modal dialog has been closed. The source
225 // is the dialog.
226 APP_MODAL_DIALOG_CLOSED,
227
218 // Tabs -------------------------------------------------------------------- 228 // Tabs --------------------------------------------------------------------
219 229
220 // This notification is sent after a tab has been appended to the 230 // This notification is sent after a tab has been appended to the
221 // tab_strip. The source is a Source<NavigationController> with a pointer 231 // tab_strip. The source is a Source<NavigationController> with a pointer
222 // to controller for the added tab. There are no details. 232 // to controller for the added tab. There are no details.
223 TAB_PARENTED, 233 TAB_PARENTED,
224 234
225 // This message is sent before a tab has been closed. The source is a 235 // This message is sent before a tab has been closed. The source is a
226 // Source<NavigationController> with a pointer to the controller for the 236 // Source<NavigationController> with a pointer to the controller for the
227 // closed tab. No details are expected. 237 // closed tab. No details are expected.
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 }; 632 };
623 633
624 inline bool operator==(NotificationType::Type a, NotificationType b) { 634 inline bool operator==(NotificationType::Type a, NotificationType b) {
625 return a == b.value; 635 return a == b.value;
626 } 636 }
627 inline bool operator!=(NotificationType::Type a, NotificationType b) { 637 inline bool operator!=(NotificationType::Type a, NotificationType b) {
628 return a != b.value; 638 return a != b.value;
629 } 639 }
630 640
631 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 641 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_uitest.cc ('k') | chrome/test/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698