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

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

Issue 9688019: Add a Content API around BrowserURLHandler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix gypis Created 8 years, 9 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 | « chrome/browser/DEPS ('k') | 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) 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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 virtual net::NetLog* GetNetLog() OVERRIDE; 151 virtual net::NetLog* GetNetLog() OVERRIDE;
152 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 152 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
153 virtual bool IsFastShutdownPossible() OVERRIDE; 153 virtual bool IsFastShutdownPossible() OVERRIDE;
154 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, 154 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh,
155 const GURL& url, 155 const GURL& url,
156 WebPreferences* prefs) OVERRIDE; 156 WebPreferences* prefs) OVERRIDE;
157 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, 157 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh,
158 const std::string& key, 158 const std::string& key,
159 const std::string& value) OVERRIDE; 159 const std::string& value) OVERRIDE;
160 virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE; 160 virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE;
161 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; 161 virtual void BrowserURLHandlerCreated(
162 content::BrowserURLHandler* handler) OVERRIDE;
162 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; 163 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE;
163 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; 164 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE;
164 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; 165 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE;
165 virtual std::string GetDefaultDownloadName() OVERRIDE; 166 virtual std::string GetDefaultDownloadName() OVERRIDE;
166 virtual bool AllowSocketAPI(content::BrowserContext* browser_context, 167 virtual bool AllowSocketAPI(content::BrowserContext* browser_context,
167 const GURL& url) OVERRIDE; 168 const GURL& url) OVERRIDE;
168 169
169 #if defined(OS_POSIX) && !defined(OS_MACOSX) 170 #if defined(OS_POSIX) && !defined(OS_MACOSX)
170 virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE; 171 virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE;
171 #endif 172 #endif
172 #if defined(OS_WIN) 173 #if defined(OS_WIN)
173 virtual const wchar_t* GetResourceDllName() OVERRIDE; 174 virtual const wchar_t* GetResourceDllName() OVERRIDE;
174 #endif 175 #endif
175 #if defined(USE_NSS) 176 #if defined(USE_NSS)
176 virtual 177 virtual
177 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 178 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
178 const GURL& url) OVERRIDE; 179 const GURL& url) OVERRIDE;
179 #endif 180 #endif
180 181
181 private: 182 private:
182 // Set of origins that can use TCP/UDP private APIs from NaCl. 183 // Set of origins that can use TCP/UDP private APIs from NaCl.
183 std::set<std::string> allowed_socket_origins_; 184 std::set<std::string> allowed_socket_origins_;
184 185
185 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 186 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
186 }; 187 };
187 188
188 } // namespace chrome 189 } // namespace chrome
189 190
190 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 191 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698