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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 9700023: Move creation of content TabContentsViews to content so that we can hide these headers through DEPS… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 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 (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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "content/public/browser/content_browser_client.h" 13 #include "content/public/browser/content_browser_client.h"
14 14
15 namespace content { 15 namespace content {
16 class QuotaPermissionContext; 16 class QuotaPermissionContext;
17 } 17 }
18 18
19 namespace chrome { 19 namespace chrome {
20 20
21 class ChromeContentBrowserClient : public content::ContentBrowserClient { 21 class ChromeContentBrowserClient : public content::ContentBrowserClient {
22 public: 22 public:
23 ChromeContentBrowserClient(); 23 ChromeContentBrowserClient();
24 virtual ~ChromeContentBrowserClient(); 24 virtual ~ChromeContentBrowserClient();
25 25
26 virtual content::BrowserMainParts* CreateBrowserMainParts( 26 virtual content::BrowserMainParts* CreateBrowserMainParts(
27 const content::MainFunctionParams& parameters) OVERRIDE; 27 const content::MainFunctionParams& parameters) OVERRIDE;
28 virtual content::WebContentsView* CreateWebContentsView( 28 virtual content::WebContentsView* OverrideCreateWebContentsView(
29 content::WebContents* web_contents) OVERRIDE;
30 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate(
29 content::WebContents* web_contents) OVERRIDE; 31 content::WebContents* web_contents) OVERRIDE;
30 virtual void RenderViewHostCreated( 32 virtual void RenderViewHostCreated(
31 content::RenderViewHost* render_view_host) OVERRIDE; 33 content::RenderViewHost* render_view_host) OVERRIDE;
32 virtual void RenderProcessHostCreated( 34 virtual void RenderProcessHostCreated(
33 content::RenderProcessHost* host) OVERRIDE; 35 content::RenderProcessHost* host) OVERRIDE;
34 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; 36 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE;
35 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 37 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
36 const GURL& effective_url) OVERRIDE; 38 const GURL& effective_url) OVERRIDE;
37 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 39 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
38 const GURL& url) OVERRIDE; 40 const GURL& url) OVERRIDE;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 private: 184 private:
183 // Set of origins that can use TCP/UDP private APIs from NaCl. 185 // Set of origins that can use TCP/UDP private APIs from NaCl.
184 std::set<std::string> allowed_socket_origins_; 186 std::set<std::string> allowed_socket_origins_;
185 187
186 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 188 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
187 }; 189 };
188 190
189 } // namespace chrome 191 } // namespace chrome
190 192
191 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 193 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698