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

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

Issue 10777004: Support chrome.windows extension API events for browserless Panels. (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
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 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 // status. The source is the profile. 1132 // status. The source is the profile.
1133 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, 1133 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED,
1134 1134
1135 // Panels Notifications. The Panels are small browser windows near the bottom 1135 // Panels Notifications. The Panels are small browser windows near the bottom
1136 // of the screen. 1136 // of the screen.
1137 // Sent when all nonblocking bounds animations are finished across panels. 1137 // Sent when all nonblocking bounds animations are finished across panels.
1138 // Used only in unit testing. 1138 // Used only in unit testing.
1139 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, 1139 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED,
1140 1140
1141 // Sent when panel gains/loses focus. 1141 // Sent when panel gains/loses focus.
1142 // The source is the Panel, no details. 1142 // The source is the Panel. Details is a boolean that is true if the
1143 // Used only in unit testing. 1143 // panel is now active.
1144 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS, 1144 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS,
1145 1145
1146 // Sent when panel is minimized/restored/shows title only etc. 1146 // Sent when panel is minimized/restored/shows title only etc.
1147 // The source is the Panel, no details. 1147 // The source is the Panel, no details.
1148 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, 1148 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE,
1149 1149
1150 // Sent when panel window size is known. This is for platforms where the 1150 // Sent when panel window size is known. This is for platforms where the
1151 // window creation is async and size of the window only becomes known later. 1151 // window creation is async and size of the window only becomes known later.
1152 // Used only in unit testing. 1152 // Used only in unit testing.
1153 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, 1153 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN,
1154 1154
1155 // Sent when panel strip get updated. 1155 // Sent when panel strip get updated.
1156 // The source is the PanelStrip, no details. 1156 // The source is the PanelStrip, no details.
1157 // Used only in coordination with notification balloons. 1157 // Used only in coordination with notification balloons.
1158 NOTIFICATION_PANEL_STRIP_UPDATED, 1158 NOTIFICATION_PANEL_STRIP_UPDATED,
1159 1159
1160 // Sent when panel is closed. 1160 // Sent when panel is closed.
1161 // The source is the Panel, no details. 1161 // The source is the Panel, no details.
1162 NOTIFICATION_PANEL_CLOSED, 1162 NOTIFICATION_PANEL_CLOSED,
1163 1163
1164 // Sent when a panel is opened.
1165 // The source is the Panel, no details.
1166 NOTIFICATION_PANEL_OPENED,
1167
1164 // Sent when a global error has changed and the error UI should update it 1168 // Sent when a global error has changed and the error UI should update it
1165 // self. The source is a Source<Profile> containing the profile for the 1169 // self. The source is a Source<Profile> containing the profile for the
1166 // error. The detail is a GlobalError object that has changed or NULL if 1170 // error. The detail is a GlobalError object that has changed or NULL if
1167 // all error UIs should update. 1171 // all error UIs should update.
1168 NOTIFICATION_GLOBAL_ERRORS_CHANGED, 1172 NOTIFICATION_GLOBAL_ERRORS_CHANGED,
1169 1173
1170 // BrowsingDataRemover ---------------------------------------------------- 1174 // BrowsingDataRemover ----------------------------------------------------
1171 // Sent on the UI thread after BrowsingDataRemover has removed browsing data 1175 // Sent on the UI thread after BrowsingDataRemover has removed browsing data
1172 // but before it has notified its explicit observers. The source is a 1176 // but before it has notified its explicit observers. The source is a
1173 // Source<Profile> containing the profile in which browsing data was removed, 1177 // Source<Profile> containing the profile in which browsing data was removed,
(...skipping 19 matching lines...) Expand all
1193 // Currently only Content and Chrome define and use notifications. 1197 // Currently only Content and Chrome define and use notifications.
1194 // Custom notifications not belonging to Content and Chrome should start 1198 // Custom notifications not belonging to Content and Chrome should start
1195 // from here. 1199 // from here.
1196 NOTIFICATION_CHROME_END, 1200 NOTIFICATION_CHROME_END,
1197 }; 1201 };
1198 1202
1199 } // namespace chrome 1203 } // namespace chrome
1200 1204
1201 1205
1202 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1206 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698