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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 const GURL& url) OVERRIDE; | 96 const GURL& url) OVERRIDE; |
97 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 97 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
98 const GURL& site_url) OVERRIDE; | 98 const GURL& site_url) OVERRIDE; |
99 virtual bool MayReuseHost(content::RenderProcessHost* process_host) OVERRIDE; | 99 virtual bool MayReuseHost(content::RenderProcessHost* process_host) OVERRIDE; |
100 virtual bool ShouldTryToUseExistingProcessHost( | 100 virtual bool ShouldTryToUseExistingProcessHost( |
101 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 101 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
102 virtual void SiteInstanceGotProcess( | 102 virtual void SiteInstanceGotProcess( |
103 content::SiteInstance* site_instance) OVERRIDE; | 103 content::SiteInstance* site_instance) OVERRIDE; |
104 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) | 104 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) |
105 OVERRIDE; | 105 OVERRIDE; |
106 virtual void WorkerProcessCreated(content::SiteInstance* site_instance, | |
107 int worker_process_id) OVERRIDE; | |
108 virtual void WorkerProcessTerminated(content::SiteInstance* site_instance, | |
109 int worker_process_id) OVERRIDE; | |
110 virtual bool ShouldSwapBrowsingInstancesForNavigation( | 106 virtual bool ShouldSwapBrowsingInstancesForNavigation( |
111 content::SiteInstance* site_instance, | 107 content::SiteInstance* site_instance, |
112 const GURL& current_url, | 108 const GURL& current_url, |
113 const GURL& new_url) OVERRIDE; | 109 const GURL& new_url) OVERRIDE; |
114 virtual bool ShouldSwapProcessesForRedirect( | 110 virtual bool ShouldSwapProcessesForRedirect( |
115 content::ResourceContext* resource_context, | 111 content::ResourceContext* resource_context, |
116 const GURL& current_url, | 112 const GURL& current_url, |
117 const GURL& new_url) OVERRIDE; | 113 const GURL& new_url) OVERRIDE; |
118 virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE; | 114 virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE; |
119 virtual std::string GetCanonicalEncodingNameByAliasName( | 115 virtual std::string GetCanonicalEncodingNameByAliasName( |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 const GURL& target_url, | 226 const GURL& target_url, |
231 const content::Referrer& referrer, | 227 const content::Referrer& referrer, |
232 WindowOpenDisposition disposition, | 228 WindowOpenDisposition disposition, |
233 const blink::WebWindowFeatures& features, | 229 const blink::WebWindowFeatures& features, |
234 bool user_gesture, | 230 bool user_gesture, |
235 bool opener_suppressed, | 231 bool opener_suppressed, |
236 content::ResourceContext* context, | 232 content::ResourceContext* context, |
237 int render_process_id, | 233 int render_process_id, |
238 int opener_id, | 234 int opener_id, |
239 bool* no_javascript_access) OVERRIDE; | 235 bool* no_javascript_access) OVERRIDE; |
240 virtual std::string GetWorkerProcessTitle( | |
241 const GURL& url, content::ResourceContext* context) OVERRIDE; | |
242 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 236 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
243 virtual content::SpeechRecognitionManagerDelegate* | 237 virtual content::SpeechRecognitionManagerDelegate* |
244 GetSpeechRecognitionManagerDelegate() OVERRIDE; | 238 GetSpeechRecognitionManagerDelegate() OVERRIDE; |
245 virtual net::NetLog* GetNetLog() OVERRIDE; | 239 virtual net::NetLog* GetNetLog() OVERRIDE; |
246 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 240 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
247 virtual bool IsFastShutdownPossible() OVERRIDE; | 241 virtual bool IsFastShutdownPossible() OVERRIDE; |
248 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 242 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
249 const GURL& url, | 243 const GURL& url, |
250 content::WebPreferences* prefs) OVERRIDE; | 244 content::WebPreferences* prefs) OVERRIDE; |
251 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, | 245 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 348 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
355 | 349 |
356 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 350 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
357 | 351 |
358 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 352 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
359 }; | 353 }; |
360 | 354 |
361 } // namespace chrome | 355 } // namespace chrome |
362 | 356 |
363 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 357 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |