| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 public: | 74 public: |
| 75 ChromeContentRendererClient(); | 75 ChromeContentRendererClient(); |
| 76 virtual ~ChromeContentRendererClient(); | 76 virtual ~ChromeContentRendererClient(); |
| 77 | 77 |
| 78 virtual void RenderThreadStarted() override; | 78 virtual void RenderThreadStarted() override; |
| 79 virtual void RenderFrameCreated(content::RenderFrame* render_frame) override; | 79 virtual void RenderFrameCreated(content::RenderFrame* render_frame) override; |
| 80 virtual void RenderViewCreated(content::RenderView* render_view) override; | 80 virtual void RenderViewCreated(content::RenderView* render_view) override; |
| 81 virtual void SetNumberOfViews(int number_of_views) override; | 81 virtual void SetNumberOfViews(int number_of_views) override; |
| 82 virtual SkBitmap* GetSadPluginBitmap() override; | 82 virtual SkBitmap* GetSadPluginBitmap() override; |
| 83 virtual SkBitmap* GetSadWebViewBitmap() override; | 83 virtual SkBitmap* GetSadWebViewBitmap() override; |
| 84 virtual std::string GetDefaultEncoding() override; | |
| 85 virtual bool OverrideCreatePlugin( | 84 virtual bool OverrideCreatePlugin( |
| 86 content::RenderFrame* render_frame, | 85 content::RenderFrame* render_frame, |
| 87 blink::WebLocalFrame* frame, | 86 blink::WebLocalFrame* frame, |
| 88 const blink::WebPluginParams& params, | 87 const blink::WebPluginParams& params, |
| 89 blink::WebPlugin** plugin) override; | 88 blink::WebPlugin** plugin) override; |
| 90 virtual blink::WebPlugin* CreatePluginReplacement( | 89 virtual blink::WebPlugin* CreatePluginReplacement( |
| 91 content::RenderFrame* render_frame, | 90 content::RenderFrame* render_frame, |
| 92 const base::FilePath& plugin_path) override; | 91 const base::FilePath& plugin_path) override; |
| 93 virtual bool HasErrorPage(int http_status_code, | 92 virtual bool HasErrorPage(int http_status_code, |
| 94 std::string* error_domain) override; | 93 std::string* error_domain) override; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 #if defined(ENABLE_FULL_PRINTING) | 233 #if defined(ENABLE_FULL_PRINTING) |
| 235 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 234 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 236 #endif | 235 #endif |
| 237 #if defined(ENABLE_PLUGINS) | 236 #if defined(ENABLE_PLUGINS) |
| 238 std::set<std::string> allowed_compositor_origins_; | 237 std::set<std::string> allowed_compositor_origins_; |
| 239 std::set<std::string> allowed_video_decode_origins_; | 238 std::set<std::string> allowed_video_decode_origins_; |
| 240 #endif | 239 #endif |
| 241 }; | 240 }; |
| 242 | 241 |
| 243 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 242 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |