| OLD | NEW |
| 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> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 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* CreateWebContentsView( |
| 29 content::WebContents* web_contents) OVERRIDE; | 29 content::WebContents* web_contents) OVERRIDE; |
| 30 virtual void RenderViewHostCreated( | 30 virtual void RenderViewHostCreated( |
| 31 content::RenderViewHost* render_view_host) OVERRIDE; | 31 content::RenderViewHost* render_view_host) OVERRIDE; |
| 32 virtual void RenderProcessHostCreated( | 32 virtual void RenderProcessHostCreated( |
| 33 content::RenderProcessHost* host) OVERRIDE; | 33 content::RenderProcessHost* host) OVERRIDE; |
| 34 virtual void BrowserChildProcessHostCreated( |
| 35 content::BrowserChildProcessHost* 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; |
| 39 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 41 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 40 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 42 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 41 const GURL& url) OVERRIDE; | 43 const GURL& url) OVERRIDE; |
| 42 virtual bool ShouldTryToUseExistingProcessHost( | 44 virtual bool ShouldTryToUseExistingProcessHost( |
| 43 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 45 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |