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

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

Issue 7036025: Get rid of chrome dependencies from PluginProcessHost by moving dispatching of chrome specific me... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 WorkerProcessHostCreated(WorkerProcessHost* host); 18 virtual void WorkerProcessHostCreated(WorkerProcessHost* host);
18 virtual content::WebUIFactory* GetWebUIFactory(); 19 virtual content::WebUIFactory* GetWebUIFactory();
19 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url); 20 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url);
20 virtual GURL GetAlternateErrorPageURL(const TabContents* tab); 21 virtual GURL GetAlternateErrorPageURL(const TabContents* tab);
21 virtual std::string GetCanonicalEncodingNameByAliasName( 22 virtual std::string GetCanonicalEncodingNameByAliasName(
22 const std::string& alias_name); 23 const std::string& alias_name);
23 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 24 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
24 int child_process_id); 25 int child_process_id);
25 virtual std::string GetApplicationLocale(); 26 virtual std::string GetApplicationLocale();
26 virtual bool AllowAppCache(const GURL& manifest_url, 27 virtual bool AllowAppCache(const GURL& manifest_url,
(...skipping 13 matching lines...) Expand all
40 net::CookieOptions* options); 41 net::CookieOptions* options);
41 #if defined(OS_LINUX) 42 #if defined(OS_LINUX)
42 // Can return an optional fd for crash handling, otherwise returns -1. 43 // Can return an optional fd for crash handling, otherwise returns -1.
43 virtual int GetCrashSignalFD(const std::string& process_type); 44 virtual int GetCrashSignalFD(const std::string& process_type);
44 #endif 45 #endif
45 }; 46 };
46 47
47 } // namespace chrome 48 } // namespace chrome
48 49
49 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 50 #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