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

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

Issue 6693054: Get rid of extensions dependency from content\browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/browser/DEPS ('k') | content/browser/content_browser_client.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) 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 CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_client.h" 9 #include "content/common/content_client.h"
10 10
11 class GURL; 11 class GURL;
12 class Profile; 12 class Profile;
13 class RenderViewHost; 13 class RenderViewHost;
14 14
15 namespace content { 15 namespace content {
16 16
17 class WebUIFactory; 17 class WebUIFactory;
18 18
19 // Embedder API for participating in browser logic. 19 // Embedder API for participating in browser logic.
20 class ContentBrowserClient { 20 class ContentBrowserClient {
21 public: 21 public:
22 // Initialize a RenderViewHost before its CreateRenderView method is called. 22 // Initialize a RenderViewHost before its CreateRenderView method is called.
23 virtual void PreCreateRenderView(RenderViewHost* render_view_host, 23 virtual void PreCreateRenderView(RenderViewHost* render_view_host,
24 Profile* profile, 24 Profile* profile,
25 const GURL& url) {} 25 const GURL& url) {}
26 26
27 // Gets the WebUIFactory which will be responsible for generating WebUIs. 27 // Gets the WebUIFactory which will be responsible for generating WebUIs.
28 virtual WebUIFactory* GetWebUIFactory(); 28 virtual WebUIFactory* GetWebUIFactory();
29
30 // Get the effective URL for the given actual URL, to allow an embedder to
31 // group different url schemes in the same SiteInstance.
32 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url);
29 }; 33 };
30 34
31 } // namespace content 35 } // namespace content
32 36
33 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 37 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698