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

Side by Side Diff: content/browser/content_browser_client.h

Issue 7066039: Remove dependency on PrefChangeRegistrar and renderer_preferences_util from content. (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
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 CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual WebUIFactory* GetWebUIFactory(); 54 virtual WebUIFactory* GetWebUIFactory();
55 55
56 // Get the effective URL for the given actual URL, to allow an embedder to 56 // Get the effective URL for the given actual URL, to allow an embedder to
57 // group different url schemes in the same SiteInstance. 57 // group different url schemes in the same SiteInstance.
58 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url); 58 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url);
59 59
60 // Returns whether a specified URL is to be considered the same as any 60 // Returns whether a specified URL is to be considered the same as any
61 // SiteInstance. 61 // SiteInstance.
62 virtual bool IsURLSameAsAnySiteInstance(const GURL& url); 62 virtual bool IsURLSameAsAnySiteInstance(const GURL& url);
63 63
64 // See RenderViewHostDelegate's comment.
65 virtual GURL GetAlternateErrorPageURL(const TabContents* tab);
66
67 // See CharacterEncoding's comment. 64 // See CharacterEncoding's comment.
68 virtual std::string GetCanonicalEncodingNameByAliasName( 65 virtual std::string GetCanonicalEncodingNameByAliasName(
69 const std::string& alias_name); 66 const std::string& alias_name);
70 67
71 // Allows the embedder to pass extra command line flags. 68 // Allows the embedder to pass extra command line flags.
72 // switches::kProcessType will already be set at this point. 69 // switches::kProcessType will already be set at this point.
73 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 70 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
74 int child_process_id); 71 int child_process_id);
75 72
76 // Returns the locale used by the application. 73 // Returns the locale used by the application.
(...skipping 25 matching lines...) Expand all
102 99
103 #if defined(OS_LINUX) 100 #if defined(OS_LINUX)
104 // Can return an optional fd for crash handling, otherwise returns -1. 101 // Can return an optional fd for crash handling, otherwise returns -1.
105 virtual int GetCrashSignalFD(const std::string& process_type); 102 virtual int GetCrashSignalFD(const std::string& process_type);
106 #endif 103 #endif
107 }; 104 };
108 105
109 } // namespace content 106 } // namespace content
110 107
111 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 108 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698