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

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

Issue 7044013: Drop url_constants dependency in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reinsert Created 9 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/browser/content_browser_client.h" 9 #include "content/browser/content_browser_client.h"
10 10
11 namespace chrome { 11 namespace chrome {
12 12
13 class ChromeContentBrowserClient : public content::ContentBrowserClient { 13 class ChromeContentBrowserClient : public content::ContentBrowserClient {
14 public: 14 public:
15 virtual void RenderViewHostCreated(RenderViewHost* render_view_host); 15 virtual void RenderViewHostCreated(RenderViewHost* render_view_host);
16 virtual void BrowserRenderProcessHostCreated(BrowserRenderProcessHost* host); 16 virtual void BrowserRenderProcessHostCreated(BrowserRenderProcessHost* host);
17 virtual void PluginProcessHostCreated(PluginProcessHost* host); 17 virtual void PluginProcessHostCreated(PluginProcessHost* host);
18 virtual void WorkerProcessHostCreated(WorkerProcessHost* host); 18 virtual void WorkerProcessHostCreated(WorkerProcessHost* host);
19 virtual content::WebUIFactory* GetWebUIFactory(); 19 virtual content::WebUIFactory* GetWebUIFactory();
20 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url); 20 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url);
21 virtual bool IsURLSameAsAnySiteInstance(const GURL& url);
21 virtual GURL GetAlternateErrorPageURL(const TabContents* tab); 22 virtual GURL GetAlternateErrorPageURL(const TabContents* tab);
22 virtual std::string GetCanonicalEncodingNameByAliasName( 23 virtual std::string GetCanonicalEncodingNameByAliasName(
23 const std::string& alias_name); 24 const std::string& alias_name);
24 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 25 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
25 int child_process_id); 26 int child_process_id);
26 virtual std::string GetApplicationLocale(); 27 virtual std::string GetApplicationLocale();
27 virtual bool AllowAppCache(const GURL& manifest_url, 28 virtual bool AllowAppCache(const GURL& manifest_url,
28 const content::ResourceContext& context); 29 const content::ResourceContext& context);
29 virtual bool AllowGetCookie(const GURL& url, 30 virtual bool AllowGetCookie(const GURL& url,
30 const GURL& first_party, 31 const GURL& first_party,
(...skipping 10 matching lines...) Expand all
41 net::CookieOptions* options); 42 net::CookieOptions* options);
42 #if defined(OS_LINUX) 43 #if defined(OS_LINUX)
43 // Can return an optional fd for crash handling, otherwise returns -1. 44 // Can return an optional fd for crash handling, otherwise returns -1.
44 virtual int GetCrashSignalFD(const std::string& process_type); 45 virtual int GetCrashSignalFD(const std::string& process_type);
45 #endif 46 #endif
46 }; 47 };
47 48
48 } // namespace chrome 49 } // namespace chrome
49 50
50 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 51 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698