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

Side by Side Diff: content/public/browser/notification_types.h

Issue 9384014: Remove knowledge about SSLClientAuthHandler from chrome. Instead a callback is given to the embed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments+sync Created 8 years, 10 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 CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // The SSL state of the browser has changed in some internal way. For 147 // The SSL state of the browser has changed in some internal way. For
148 // example, the user might have explicitly allowed some broken certificate 148 // example, the user might have explicitly allowed some broken certificate
149 // or a secure origin might have included some insecure content. Listen to 149 // or a secure origin might have included some insecure content. Listen to
150 // this notifiation if you need to keep track of our internal SSL state. 150 // this notifiation if you need to keep track of our internal SSL state.
151 // 151 //
152 // The source will be the browser context. The details will be the navigation 152 // The source will be the browser context. The details will be the navigation
153 // controller associated with the state change. 153 // controller associated with the state change.
154 NOTIFICATION_SSL_INTERNAL_STATE_CHANGED, 154 NOTIFICATION_SSL_INTERNAL_STATE_CHANGED,
155 155
156 // The user accepted or dismissed a SSL client authentication request.
157 // The source is a Source<SSLClientAuthHandler>. Details is a
158 // SSLClientAuthNotificationDetails which records specifies which
159 // SSLCertRequestInfo the request was for and which X509Certificate was
160 // selected (if any).
161 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED,
162
163 #if defined(OS_MACOSX) 156 #if defined(OS_MACOSX)
164 // This message is sent when the application is made active (Mac OS X only 157 // This message is sent when the application is made active (Mac OS X only
165 // at present). No source or details are passed. 158 // at present). No source or details are passed.
166 NOTIFICATION_APP_ACTIVATED, 159 NOTIFICATION_APP_ACTIVATED,
167 #endif 160 #endif
168 161
169 // This message is sent when the application is terminating (the last 162 // This message is sent when the application is terminating (the last
170 // browser window has shutdown as part of an explicit user-initiated exit, 163 // browser window has shutdown as part of an explicit user-initiated exit,
171 // or the user closed the last browser window on Windows/Linux and there are 164 // or the user closed the last browser window on Windows/Linux and there are
172 // no BackgroundContents keeping the browser running). No source or details 165 // no BackgroundContents keeping the browser running). No source or details
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // related cleanup. The source is the BrowserContext. 418 // related cleanup. The source is the BrowserContext.
426 NOTIFICATION_BROWSER_CONTEXT_DESTRUCTION, 419 NOTIFICATION_BROWSER_CONTEXT_DESTRUCTION,
427 420
428 // Custom notifications used by the embedder should start from here. 421 // Custom notifications used by the embedder should start from here.
429 NOTIFICATION_CONTENT_END, 422 NOTIFICATION_CONTENT_END,
430 }; 423 };
431 424
432 } // namespace content 425 } // namespace content
433 426
434 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 427 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698