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

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

Issue 10323002: Move message handlers that don't belong in RenderProcessHostImpl to their own files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: threaded Created 8 years, 7 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // certain operations, like cookie access. Returns NULL to indicate the 249 // certain operations, like cookie access. Returns NULL to indicate the
250 // regular request context should be used. 250 // regular request context should be used.
251 // This is called on the IO thread. 251 // This is called on the IO thread.
252 virtual net::URLRequestContext* OverrideRequestContextForURL( 252 virtual net::URLRequestContext* OverrideRequestContextForURL(
253 const GURL& url, content::ResourceContext* context) = 0; 253 const GURL& url, content::ResourceContext* context) = 0;
254 254
255 // Create and return a new quota permission context. 255 // Create and return a new quota permission context.
256 virtual QuotaPermissionContext* CreateQuotaPermissionContext() = 0; 256 virtual QuotaPermissionContext* CreateQuotaPermissionContext() = 0;
257 257
258 // Open the given file in the desktop's default manner. 258 // Open the given file in the desktop's default manner.
259 // This is called on the UI thread.
jam 2012/05/17 20:39:06 no need for these two comments, see the comment at
Avi (use Gerrit) 2012/05/17 21:04:36 Ah, thanks.
259 virtual void OpenItem(const FilePath& path) = 0; 260 virtual void OpenItem(const FilePath& path) = 0;
260 261
261 // Show the given file in a file manager. If possible, select the file. 262 // Show the given file in a file manager. If possible, select the file.
263 // This is called on the UI thread.
262 virtual void ShowItemInFolder(const FilePath& path) = 0; 264 virtual void ShowItemInFolder(const FilePath& path) = 0;
263 265
264 // Informs the embedder that a certificate error has occured. If overridable 266 // Informs the embedder that a certificate error has occured. If overridable
265 // is true, the user can ignore the error and continue. If it's false, then 267 // is true, the user can ignore the error and continue. If it's false, then
266 // the certificate error is severe and the user isn't allowed to proceed. The 268 // the certificate error is severe and the user isn't allowed to proceed. The
267 // embedder can call the callback asynchronously. If |cancel_request| is set 269 // embedder can call the callback asynchronously. If |cancel_request| is set
268 // to true, the request will be cancelled immediately and the callback won't 270 // to true, the request will be cancelled immediately and the callback won't
269 // be run. 271 // be run.
270 virtual void AllowCertificateError( 272 virtual void AllowCertificateError(
271 int render_process_id, 273 int render_process_id,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 // This is called on a worker thread. 430 // This is called on a worker thread.
429 virtual 431 virtual
430 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 432 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
431 const GURL& url) = 0; 433 const GURL& url) = 0;
432 #endif 434 #endif
433 }; 435 };
434 436
435 } // namespace content 437 } // namespace content
436 438
437 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 439 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698