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

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

Issue 10353007: Extract a minimal subset of WebDialogUI/WebDialogDelegate from src/chrome -> src/ui/web_dialogs Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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 "ui/web_dialogs/web_dialog_notification_types.h"
10 10
11 namespace chrome { 11 namespace chrome {
12 12
13 enum NotificationType { 13 enum NotificationType {
14 NOTIFICATION_CHROME_START = content::NOTIFICATION_CONTENT_END, 14 NOTIFICATION_CHROME_START = web_dialogs::NOTIFICATION_WEB_DIALOGS_END,
15 15
16 // Browser-window ---------------------------------------------------------- 16 // Browser-window ----------------------------------------------------------
17 17
18 // This message is sent after a window has been opened. The source is a 18 // This message is sent after a window has been opened. The source is a
19 // Source<Browser> containing the affected Browser. No details are 19 // Source<Browser> containing the affected Browser. No details are
20 // expected. 20 // expected.
21 NOTIFICATION_BROWSER_OPENED = NOTIFICATION_CHROME_START, 21 NOTIFICATION_BROWSER_OPENED = NOTIFICATION_CHROME_START,
22 22
23 // This message is sent soon after BROWSER_OPENED, and indicates that 23 // This message is sent soon after BROWSER_OPENED, and indicates that
24 // the Browser's |window_| is now non-NULL. The source is a Source<Browser> 24 // the Browser's |window_| is now non-NULL. The source is a Source<Browser>
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 1070
1071 // Blocked content. 1071 // Blocked content.
1072 // Sent when content changes to or from the blocked state in 1072 // Sent when content changes to or from the blocked state in
1073 // BlockedContentTabHelper. 1073 // BlockedContentTabHelper.
1074 // The source is the TabContentsWrapper of the blocked content and details 1074 // The source is the TabContentsWrapper of the blocked content and details
1075 // is a boolean: true if the content is entering the blocked state, false 1075 // is a boolean: true if the content is entering the blocked state, false
1076 // if it is leaving. 1076 // if it is leaving.
1077 NOTIFICATION_CONTENT_BLOCKED_STATE_CHANGED, 1077 NOTIFICATION_CONTENT_BLOCKED_STATE_CHANGED,
1078 1078
1079 // Note:- 1079 // Note:-
1080 // Currently only Content and Chrome define and use notifications. 1080 // Currently only Content, Chrome and WebDialogs define and use notifications.
1081 // Custom notifications not belonging to Content and Chrome should start 1081 // Custom notifications not belonging to Content,
1082 // from here. 1082 // Chrome and WebDialogs should start from here.
1083 NOTIFICATION_CHROME_END, 1083 NOTIFICATION_CHROME_END,
1084 }; 1084 };
1085 1085
1086 } // namespace chrome 1086 } // namespace chrome
1087 1087
1088 1088
1089 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1089 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698