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

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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 NOTIFICATION_TAB_DRAG_LOOP_DONE, 1094 NOTIFICATION_TAB_DRAG_LOOP_DONE,
1095 #endif 1095 #endif
1096 1096
1097 // Send when a context menu is shown. Used to notify tests that the context 1097 // Send when a context menu is shown. Used to notify tests that the context
1098 // menu has been created and shown. 1098 // menu has been created and shown.
1099 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN, 1099 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN,
1100 1100
1101 // Send when a context menu is closed. 1101 // Send when a context menu is closed.
1102 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_CLOSED, 1102 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_CLOSED,
1103 1103
1104 // Sent each time the InstantController is updated. 1104 // Sent each time a search query is sent to an Instant page.
1105 NOTIFICATION_INSTANT_CONTROLLER_UPDATED, 1105 NOTIFICATION_INSTANT_UPDATED,
1106 1106
1107 // Sent when an Instant overlay is committed. The Source is the WebContents 1107 // Sent when an Instant overlay is committed. The Source is the WebContents
1108 // containing the committed overlay. 1108 // containing the committed overlay.
1109 NOTIFICATION_INSTANT_COMMITTED, 1109 NOTIFICATION_INSTANT_COMMITTED,
1110 1110
1111 // Sent when the Instant Controller determines whether the overlay supports 1111 // Sent when we've determined if a page supports Instant. Only used in tests.
1112 // the Instant API or not. 1112 NOTIFICATION_INSTANT_SUPPORT_DETERMINED,
1113 NOTIFICATION_INSTANT_OVERLAY_SUPPORT_DETERMINED,
1114
1115 // Sent when the Instant Controller determines whether the NTP supports the
1116 // Instant API or not.
1117 NOTIFICATION_INSTANT_NTP_SUPPORT_DETERMINED,
1118
1119 // Sent when the Instant Controller has sent the Most Visited Items to the
1120 // renderer.
1121 NOTIFICATION_INSTANT_SENT_MOST_VISITED_ITEMS,
1122 1113
1123 // Sent when the CaptivePortalService checks if we're behind a captive portal. 1114 // Sent when the CaptivePortalService checks if we're behind a captive portal.
1124 // The Source is the Profile the CaptivePortalService belongs to, and the 1115 // The Source is the Profile the CaptivePortalService belongs to, and the
1125 // Details are a Details<CaptivePortalService::CheckResults>. 1116 // Details are a Details<CaptivePortalService::CheckResults>.
1126 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, 1117 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT,
1127 1118
1128 // Password Store ---------------------------------------------------------- 1119 // Password Store ----------------------------------------------------------
1129 // This notification is sent whenenever login entries stored in the password 1120 // This notification is sent whenenever login entries stored in the password
1130 // store are changed. The detail of this notification is a list of changes 1121 // store are changed. The detail of this notification is a list of changes
1131 // represented by a vector of PasswordStoreChange. Each change includes a 1122 // represented by a vector of PasswordStoreChange. Each change includes a
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 // Note:- 1248 // Note:-
1258 // Currently only Content and Chrome define and use notifications. 1249 // Currently only Content and Chrome define and use notifications.
1259 // Custom notifications not belonging to Content and Chrome should start 1250 // Custom notifications not belonging to Content and Chrome should start
1260 // from here. 1251 // from here.
1261 NOTIFICATION_CHROME_END, 1252 NOTIFICATION_CHROME_END,
1262 }; 1253 };
1263 1254
1264 } // namespace chrome 1255 } // namespace chrome
1265 1256
1266 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1257 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698