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

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 13 matching lines...) Expand all
24 content::RenderProcessHost* host) OVERRIDE; 24 content::RenderProcessHost* host) OVERRIDE;
25 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; 25 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE;
26 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 26 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
27 const GURL& effective_url) OVERRIDE; 27 const GURL& effective_url) OVERRIDE;
28 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 28 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
29 const GURL& url) OVERRIDE; 29 const GURL& url) OVERRIDE;
30 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; 30 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
31 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 31 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
32 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 32 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
33 const GURL& url) OVERRIDE; 33 const GURL& url) OVERRIDE;
34 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; 34 virtual void SiteInstanceGotProcess(
35 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; 35 content::SiteInstance* site_instance) OVERRIDE;
36 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance)
37 OVERRIDE;
36 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, 38 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url,
37 const GURL& new_url) OVERRIDE; 39 const GURL& new_url) OVERRIDE;
38 virtual std::string GetCanonicalEncodingNameByAliasName( 40 virtual std::string GetCanonicalEncodingNameByAliasName(
39 const std::string& alias_name) OVERRIDE; 41 const std::string& alias_name) OVERRIDE;
40 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 42 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
41 int child_process_id) OVERRIDE; 43 int child_process_id) OVERRIDE;
42 virtual std::string GetApplicationLocale() OVERRIDE; 44 virtual std::string GetApplicationLocale() OVERRIDE;
43 virtual std::string GetAcceptLangs( 45 virtual std::string GetAcceptLangs(
44 content::BrowserContext* context) OVERRIDE; 46 content::BrowserContext* context) OVERRIDE;
45 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; 47 virtual SkBitmap* GetDefaultFavicon() OVERRIDE;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 #if defined(USE_NSS) 146 #if defined(USE_NSS)
145 virtual 147 virtual
146 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 148 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
147 const GURL& url) OVERRIDE; 149 const GURL& url) OVERRIDE;
148 #endif 150 #endif
149 }; 151 };
150 152
151 } // namespace chrome 153 } // namespace chrome
152 154
153 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 155 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698