Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 82 | 82 |
| 83 void RenderThreadStarted() override; | 83 void RenderThreadStarted() override; |
| 84 void RenderFrameCreated(content::RenderFrame* render_frame) override; | 84 void RenderFrameCreated(content::RenderFrame* render_frame) override; |
| 85 void RenderViewCreated(content::RenderView* render_view) override; | 85 void RenderViewCreated(content::RenderView* render_view) override; |
| 86 SkBitmap* GetSadPluginBitmap() override; | 86 SkBitmap* GetSadPluginBitmap() override; |
| 87 SkBitmap* GetSadWebViewBitmap() override; | 87 SkBitmap* GetSadWebViewBitmap() override; |
| 88 bool OverrideCreatePlugin(content::RenderFrame* render_frame, | 88 bool OverrideCreatePlugin(content::RenderFrame* render_frame, |
| 89 blink::WebLocalFrame* frame, | 89 blink::WebLocalFrame* frame, |
| 90 const blink::WebPluginParams& params, | 90 const blink::WebPluginParams& params, |
| 91 blink::WebPlugin** plugin) override; | 91 blink::WebPlugin** plugin) override; |
| 92 scoped_ptr<blink::WebPluginPlaceholder> CreatePluginPlaceholder( | |
|
jbroman
2015/08/24 18:24:14
Please also remove the method this overrides in co
tommycli
2015/08/24 20:00:06
Done.
| |
| 93 content::RenderFrame* render_frame, | |
| 94 blink::WebLocalFrame* frame, | |
| 95 const blink::WebPluginParams& params) override; | |
| 96 blink::WebPlugin* CreatePluginReplacement( | 92 blink::WebPlugin* CreatePluginReplacement( |
| 97 content::RenderFrame* render_frame, | 93 content::RenderFrame* render_frame, |
| 98 const base::FilePath& plugin_path) override; | 94 const base::FilePath& plugin_path) override; |
| 99 bool HasErrorPage(int http_status_code, std::string* error_domain) override; | 95 bool HasErrorPage(int http_status_code, std::string* error_domain) override; |
| 100 bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, | 96 bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, |
| 101 const GURL& url) override; | 97 const GURL& url) override; |
| 102 void GetNavigationErrorStrings(content::RenderView* render_view, | 98 void GetNavigationErrorStrings(content::RenderView* render_view, |
| 103 blink::WebFrame* frame, | 99 blink::WebFrame* frame, |
| 104 const blink::WebURLRequest& failed_request, | 100 const blink::WebURLRequest& failed_request, |
| 105 const blink::WebURLError& error, | 101 const blink::WebURLError& error, |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 248 #if defined(ENABLE_PRINT_PREVIEW) | 244 #if defined(ENABLE_PRINT_PREVIEW) |
| 249 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 245 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 250 #endif | 246 #endif |
| 251 #if defined(ENABLE_PLUGINS) | 247 #if defined(ENABLE_PLUGINS) |
| 252 std::set<std::string> allowed_camera_device_origins_; | 248 std::set<std::string> allowed_camera_device_origins_; |
| 253 std::set<std::string> allowed_compositor_origins_; | 249 std::set<std::string> allowed_compositor_origins_; |
| 254 #endif | 250 #endif |
| 255 }; | 251 }; |
| 256 | 252 |
| 257 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 253 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |