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

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

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 <string> 9 #include <string>
10 10
(...skipping 14 matching lines...) Expand all
25 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; 25 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE;
26 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; 26 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE;
27 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 27 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
28 const GURL& effective_url) OVERRIDE; 28 const GURL& effective_url) OVERRIDE;
29 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 29 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
30 const GURL& url) OVERRIDE; 30 const GURL& url) OVERRIDE;
31 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; 31 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
32 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 32 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
33 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 33 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
34 const GURL& url) OVERRIDE; 34 const GURL& url) OVERRIDE;
35 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; 35 virtual void SiteInstanceGotProcess(
36 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; 36 content::SiteInstance* site_instance) OVERRIDE;
37 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance)
38 OVERRIDE;
37 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, 39 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url,
38 const GURL& new_url) OVERRIDE; 40 const GURL& new_url) OVERRIDE;
39 virtual std::string GetCanonicalEncodingNameByAliasName( 41 virtual std::string GetCanonicalEncodingNameByAliasName(
40 const std::string& alias_name) OVERRIDE; 42 const std::string& alias_name) OVERRIDE;
41 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 43 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
42 int child_process_id) OVERRIDE; 44 int child_process_id) OVERRIDE;
43 virtual std::string GetApplicationLocale() OVERRIDE; 45 virtual std::string GetApplicationLocale() OVERRIDE;
44 virtual std::string GetAcceptLangs( 46 virtual std::string GetAcceptLangs(
45 content::BrowserContext* context) OVERRIDE; 47 content::BrowserContext* context) OVERRIDE;
46 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; 48 virtual SkBitmap* GetDefaultFavicon() OVERRIDE;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 #if defined(USE_NSS) 147 #if defined(USE_NSS)
146 virtual 148 virtual
147 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 149 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
148 const GURL& url) OVERRIDE; 150 const GURL& url) OVERRIDE;
149 #endif 151 #endif
150 }; 152 };
151 153
152 } // namespace chrome 154 } // namespace chrome
153 155
154 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 156 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698