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

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

Issue 12518033: Browser Plugin: Only install BrowserPluginMessageFilter if render process supports BrowserPlugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 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
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 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 virtual void BrowserURLHandlerCreated( 204 virtual void BrowserURLHandlerCreated(
205 content::BrowserURLHandler* handler) OVERRIDE; 205 content::BrowserURLHandler* handler) OVERRIDE;
206 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; 206 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE;
207 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; 207 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE;
208 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; 208 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE;
209 virtual std::string GetDefaultDownloadName() OVERRIDE; 209 virtual std::string GetDefaultDownloadName() OVERRIDE;
210 virtual void DidCreatePpapiPlugin( 210 virtual void DidCreatePpapiPlugin(
211 content::BrowserPpapiHost* browser_host) OVERRIDE; 211 content::BrowserPpapiHost* browser_host) OVERRIDE;
212 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 212 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
213 int plugin_process_id) OVERRIDE; 213 int plugin_process_id) OVERRIDE;
214 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context,
215 const GURL& site_url) OVERRIDE;
214 virtual bool AllowPepperSocketAPI( 216 virtual bool AllowPepperSocketAPI(
215 content::BrowserContext* browser_context, 217 content::BrowserContext* browser_context,
216 const GURL& url, 218 const GURL& url,
217 const content::SocketPermissionRequest& params) OVERRIDE; 219 const content::SocketPermissionRequest& params) OVERRIDE;
218 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE; 220 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE;
219 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( 221 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
220 content::WebContents* web_contents) OVERRIDE; 222 content::WebContents* web_contents) OVERRIDE;
221 223
222 #if defined(OS_POSIX) && !defined(OS_MACOSX) 224 #if defined(OS_POSIX) && !defined(OS_MACOSX)
223 virtual void GetAdditionalMappedFilesForChildProcess( 225 virtual void GetAdditionalMappedFilesForChildProcess(
(...skipping 26 matching lines...) Expand all
250 // Cached version of the locale so we can return the locale on the I/O 252 // Cached version of the locale so we can return the locale on the I/O
251 // thread. 253 // thread.
252 std::string io_thread_application_locale_; 254 std::string io_thread_application_locale_;
253 255
254 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 256 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
255 }; 257 };
256 258
257 } // namespace chrome 259 } // namespace chrome
258 260
259 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 261 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698