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

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

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 NOTIFICATION_TAB_DRAG_LOOP_DONE, 1090 NOTIFICATION_TAB_DRAG_LOOP_DONE,
1091 #endif 1091 #endif
1092 1092
1093 // Send when a context menu is shown. Used to notify tests that the context 1093 // Send when a context menu is shown. Used to notify tests that the context
1094 // menu has been created and shown. 1094 // menu has been created and shown.
1095 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN, 1095 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN,
1096 1096
1097 // Send when a context menu is closed. 1097 // Send when a context menu is closed.
1098 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_CLOSED, 1098 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_CLOSED,
1099 1099
1100 // Sent each time the InstantController is updated. 1100 // Sent each time a search query is sent to an Instant page.
1101 NOTIFICATION_INSTANT_CONTROLLER_UPDATED, 1101 NOTIFICATION_INSTANT_UPDATED,
1102 1102
1103 // Sent when an Instant overlay is committed. The Source is the WebContents 1103 // Sent when an Instant overlay is committed. The Source is the WebContents
1104 // containing the committed overlay. 1104 // containing the committed overlay.
1105 NOTIFICATION_INSTANT_COMMITTED, 1105 NOTIFICATION_INSTANT_COMMITTED,
1106 1106
1107 // Sent when the Instant Controller determines whether the overlay supports 1107 // Sent when we've determined if a page supports Instant. Only used in tests.
1108 // the Instant API or not. 1108 NOTIFICATION_INSTANT_SUPPORT_DETERMINED,
1109 NOTIFICATION_INSTANT_OVERLAY_SUPPORT_DETERMINED,
1110
1111 // Sent when the Instant Controller determines whether the NTP supports the
1112 // Instant API or not.
1113 NOTIFICATION_INSTANT_NTP_SUPPORT_DETERMINED,
1114
1115 // Sent when the Instant Controller has sent the Most Visited Items to the
1116 // renderer.
1117 NOTIFICATION_INSTANT_SENT_MOST_VISITED_ITEMS,
1118 1109
1119 // Sent when the CaptivePortalService checks if we're behind a captive portal. 1110 // Sent when the CaptivePortalService checks if we're behind a captive portal.
1120 // The Source is the Profile the CaptivePortalService belongs to, and the 1111 // The Source is the Profile the CaptivePortalService belongs to, and the
1121 // Details are a Details<CaptivePortalService::CheckResults>. 1112 // Details are a Details<CaptivePortalService::CheckResults>.
1122 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, 1113 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT,
1123 1114
1124 // Password Store ---------------------------------------------------------- 1115 // Password Store ----------------------------------------------------------
1125 // This notification is sent whenenever login entries stored in the password 1116 // This notification is sent whenenever login entries stored in the password
1126 // store are changed. The detail of this notification is a list of changes 1117 // store are changed. The detail of this notification is a list of changes
1127 // represented by a vector of PasswordStoreChange. Each change includes a 1118 // represented by a vector of PasswordStoreChange. Each change includes a
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 // Note:- 1244 // Note:-
1254 // Currently only Content and Chrome define and use notifications. 1245 // Currently only Content and Chrome define and use notifications.
1255 // Custom notifications not belonging to Content and Chrome should start 1246 // Custom notifications not belonging to Content and Chrome should start
1256 // from here. 1247 // from here.
1257 NOTIFICATION_CHROME_END, 1248 NOTIFICATION_CHROME_END,
1258 }; 1249 };
1259 1250
1260 } // namespace chrome 1251 } // namespace chrome
1261 1252
1262 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1253 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698