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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 bool* in_memory) OVERRIDE; | 69 bool* in_memory) OVERRIDE; |
70 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 70 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
71 content::WebContents* web_contents) OVERRIDE; | 71 content::WebContents* web_contents) OVERRIDE; |
72 virtual void GuestWebContentsCreated( | 72 virtual void GuestWebContentsCreated( |
73 int guest_instance_id, | 73 int guest_instance_id, |
74 content::SiteInstance* guest_site_instance, | 74 content::SiteInstance* guest_site_instance, |
75 content::WebContents* guest_web_contents, | 75 content::WebContents* guest_web_contents, |
76 content::WebContents* opener_web_contents, | 76 content::WebContents* opener_web_contents, |
77 content::BrowserPluginGuestDelegate** guest_delegate, | 77 content::BrowserPluginGuestDelegate** guest_delegate, |
78 scoped_ptr<base::DictionaryValue> extra_params) OVERRIDE; | 78 scoped_ptr<base::DictionaryValue> extra_params) OVERRIDE; |
79 virtual void GuestWebContentsAttached( | |
80 content::WebContents* guest_web_contents, | |
81 content::WebContents* embedder_web_contents, | |
82 const base::DictionaryValue& extra_params) OVERRIDE; | |
83 virtual void RenderProcessWillLaunch( | 79 virtual void RenderProcessWillLaunch( |
84 content::RenderProcessHost* host) OVERRIDE; | 80 content::RenderProcessHost* host) OVERRIDE; |
85 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 81 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
86 const GURL& effective_url) OVERRIDE; | 82 const GURL& effective_url) OVERRIDE; |
87 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 83 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
88 const GURL& url) OVERRIDE; | 84 const GURL& url) OVERRIDE; |
89 virtual void GetAdditionalWebUISchemes( | 85 virtual void GetAdditionalWebUISchemes( |
90 std::vector<std::string>* additional_schemes) OVERRIDE; | 86 std::vector<std::string>* additional_schemes) OVERRIDE; |
91 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck( | 87 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck( |
92 std::vector<std::string>* hosts) OVERRIDE; | 88 std::vector<std::string>* hosts) OVERRIDE; |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 prerender::PrerenderTracker* prerender_tracker_; | 325 prerender::PrerenderTracker* prerender_tracker_; |
330 | 326 |
331 friend class DisableWebRtcEncryptionFlagTest; | 327 friend class DisableWebRtcEncryptionFlagTest; |
332 | 328 |
333 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 329 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
334 }; | 330 }; |
335 | 331 |
336 } // namespace chrome | 332 } // namespace chrome |
337 | 333 |
338 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 334 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |