| 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 15 matching lines...) Expand all Loading... |
| 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* OverrideCreateWebContentsView( | 28 virtual content::WebContentsView* OverrideCreateWebContentsView( |
| 29 content::WebContents* web_contents) OVERRIDE; | 29 content::WebContents* web_contents) OVERRIDE; |
| 30 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 30 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
| 31 content::WebContents* web_contents) OVERRIDE; | 31 content::WebContents* web_contents) OVERRIDE; |
| 32 virtual void RenderViewHostCreated( | 32 virtual void RenderViewHostCreated( |
| 33 content::RenderViewHost* render_view_host) OVERRIDE; | 33 content::RenderViewHost* render_view_host) OVERRIDE; |
| 34 virtual void RenderProcessHostCreated( | 34 virtual void RenderProcessHostCreated( |
| 35 content::RenderProcessHost* host) OVERRIDE; | 35 content::RenderProcessHost* host) OVERRIDE; |
| 36 virtual void BrowserChildProcessHostCreated( |
| 37 content::BrowserChildProcessHost* host) OVERRIDE; |
| 36 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; | 38 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
| 37 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 39 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 38 const GURL& effective_url) OVERRIDE; | 40 const GURL& effective_url) OVERRIDE; |
| 39 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 41 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 40 const GURL& url) OVERRIDE; | 42 const GURL& url) OVERRIDE; |
| 41 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 43 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 42 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 44 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 43 const GURL& url) OVERRIDE; | 45 const GURL& url) OVERRIDE; |
| 44 virtual bool ShouldTryToUseExistingProcessHost( | 46 virtual bool ShouldTryToUseExistingProcessHost( |
| 45 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 47 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 private: | 186 private: |
| 185 // Set of origins that can use TCP/UDP private APIs from NaCl. | 187 // Set of origins that can use TCP/UDP private APIs from NaCl. |
| 186 std::set<std::string> allowed_socket_origins_; | 188 std::set<std::string> allowed_socket_origins_; |
| 187 | 189 |
| 188 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 190 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 189 }; | 191 }; |
| 190 | 192 |
| 191 } // namespace chrome | 193 } // namespace chrome |
| 192 | 194 |
| 193 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 195 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |