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

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

Issue 6363002: Implement the onBeforeRetarget event of the webNavigation API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests Created 9 years, 11 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_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_
7 #pragma once 7 #pragma once
8 8
9 // This file describes various types used to describe and filter notifications 9 // This file describes various types used to describe and filter notifications
10 // that pass through the NotificationService. 10 // that pass through the NotificationService.
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // request was issued. Details in the form of a ResourceRequestDetails 142 // request was issued. Details in the form of a ResourceRequestDetails
143 // object are provided. 143 // object are provided.
144 RESOURCE_RESPONSE_STARTED, 144 RESOURCE_RESPONSE_STARTED,
145 145
146 // A redirect was received while requesting a resource. The source will be 146 // A redirect was received while requesting a resource. The source will be
147 // a Source<RenderViewHostDelegate> corresponding to the tab in which the 147 // a Source<RenderViewHostDelegate> corresponding to the tab in which the
148 // request was issued. Details in the form of a ResourceRedirectDetails 148 // request was issued. Details in the form of a ResourceRedirectDetails
149 // are provided. 149 // are provided.
150 RESOURCE_RECEIVED_REDIRECT, 150 RESOURCE_RECEIVED_REDIRECT,
151 151
152 // A new window is created in response to a request from a renderer. The
153 // source will be a Source<TabContents> corresponding to the tab the
154 // request originates from. Details in the form of a
155 // ViewHostMsg_CreateWindow_Params object are provided.
156 CREATING_NEW_WINDOW,
157
152 // SSL --------------------------------------------------------------------- 158 // SSL ---------------------------------------------------------------------
153 159
154 // Updating the SSL security indicators (the lock icon and such) proceeds 160 // Updating the SSL security indicators (the lock icon and such) proceeds
155 // in two phases: 161 // in two phases:
156 // 162 //
157 // 1) The internal SSL state for a host or tab changes. When this happens, 163 // 1) The internal SSL state for a host or tab changes. When this happens,
158 // the SSLManager broadcasts an SSL_INTERNAL_STATE_CHANGED notification. 164 // the SSLManager broadcasts an SSL_INTERNAL_STATE_CHANGED notification.
159 // 165 //
160 // 2) The SSLManager for each tab receives this notification and might or 166 // 2) The SSLManager for each tab receives this notification and might or
161 // might not update the navigation entry for its tab, depending on 167 // might not update the navigation entry for its tab, depending on
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 }; 1339 };
1334 1340
1335 inline bool operator==(NotificationType::Type a, NotificationType b) { 1341 inline bool operator==(NotificationType::Type a, NotificationType b) {
1336 return a == b.value; 1342 return a == b.value;
1337 } 1343 }
1338 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1344 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1339 return a != b.value; 1345 return a != b.value;
1340 } 1346 }
1341 1347
1342 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1348 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698