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

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

Issue 7861024: Adds testing infrastructure to web_ui_browsertest to support testing HtmlDialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move observing html dialog to separate class and test declarations to JS. Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common/content_notification_types.h" 9 #include "content/common/content_notification_types.h"
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 NOTIFICATION_TAB_SNAPSHOT_TAKEN, 64 NOTIFICATION_TAB_SNAPSHOT_TAKEN,
65 65
66 // The user has changed the browser theme. The source is a 66 // The user has changed the browser theme. The source is a
67 // Source<ThemeService>. There are no details. 67 // Source<ThemeService>. There are no details.
68 NOTIFICATION_BROWSER_THEME_CHANGED, 68 NOTIFICATION_BROWSER_THEME_CHANGED,
69 69
70 // Sent when the renderer returns focus to the browser, as part of focus 70 // Sent when the renderer returns focus to the browser, as part of focus
71 // traversal. The source is the browser, there are no details. 71 // traversal. The source is the browser, there are no details.
72 NOTIFICATION_FOCUS_RETURNED_TO_BROWSER, 72 NOTIFICATION_FOCUS_RETURNED_TO_BROWSER,
73 73
74 // Sent after an HtmlDialog dialog has been shown. The source is the dialog.
75 NOTIFICATION_HTML_DIALOG_SHOWN,
76
74 // Application-modal dialogs ----------------------------------------------- 77 // Application-modal dialogs -----------------------------------------------
75 78
76 // Sent after an application-modal dialog has been shown. The source 79 // Sent after an application-modal dialog has been shown. The source
77 // is the dialog. 80 // is the dialog.
78 NOTIFICATION_APP_MODAL_DIALOG_SHOWN, 81 NOTIFICATION_APP_MODAL_DIALOG_SHOWN,
79 82
80 // This message is sent when a new InfoBar has been added to a 83 // This message is sent when a new InfoBar has been added to a
81 // TabContentsWrapper. The source is a Source<TabContentsWrapper> with a 84 // TabContentsWrapper. The source is a Source<TabContentsWrapper> with a
82 // pointer to the TabContentsWrapper the InfoBar was added to. The details 85 // pointer to the TabContentsWrapper the InfoBar was added to. The details
83 // is a Details<InfoBarDelegate> with a pointer to the delegate that was 86 // is a Details<InfoBarDelegate> with a pointer to the delegate that was
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 // Currently only Content and Chrome define and use notifications. 906 // Currently only Content and Chrome define and use notifications.
904 // Custom notifications not belonging to Content and Chrome should start 907 // Custom notifications not belonging to Content and Chrome should start
905 // from here. 908 // from here.
906 NOTIFICATION_CHROME_END, 909 NOTIFICATION_CHROME_END,
907 }; 910 };
908 911
909 } // namespace chrome 912 } // namespace chrome
910 913
911 914
912 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 915 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698