| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 virtual void RenderFrameCreated(content::RenderFrame* render_frame) OVERRIDE; | 67 virtual void RenderFrameCreated(content::RenderFrame* render_frame) OVERRIDE; |
| 68 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; | 68 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; |
| 69 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; | 69 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; |
| 70 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 70 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
| 71 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; | 71 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; |
| 72 virtual std::string GetDefaultEncoding() OVERRIDE; | 72 virtual std::string GetDefaultEncoding() OVERRIDE; |
| 73 virtual bool OverrideCreatePlugin( | 73 virtual bool OverrideCreatePlugin( |
| 74 content::RenderFrame* render_frame, | 74 content::RenderFrame* render_frame, |
| 75 blink::WebLocalFrame* frame, | 75 blink::WebLocalFrame* frame, |
| 76 const blink::WebPluginParams& params, | 76 const blink::WebPluginParams& params, |
| 77 int* instance_id, |
| 77 blink::WebPlugin** plugin) OVERRIDE; | 78 blink::WebPlugin** plugin) OVERRIDE; |
| 78 virtual blink::WebPlugin* CreatePluginReplacement( | 79 virtual blink::WebPlugin* CreatePluginReplacement( |
| 79 content::RenderFrame* render_frame, | 80 content::RenderFrame* render_frame, |
| 80 const base::FilePath& plugin_path) OVERRIDE; | 81 const base::FilePath& plugin_path) OVERRIDE; |
| 81 virtual bool HasErrorPage(int http_status_code, | 82 virtual bool HasErrorPage(int http_status_code, |
| 82 std::string* error_domain) OVERRIDE; | 83 std::string* error_domain) OVERRIDE; |
| 83 virtual bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, | 84 virtual bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, |
| 84 const GURL& url) OVERRIDE; | 85 const GURL& url) OVERRIDE; |
| 85 virtual void GetNavigationErrorStrings( | 86 virtual void GetNavigationErrorStrings( |
| 86 content::RenderView* render_view, | 87 content::RenderView* render_view, |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 202 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 202 #endif | 203 #endif |
| 203 scoped_ptr<SearchBouncer> search_bouncer_; | 204 scoped_ptr<SearchBouncer> search_bouncer_; |
| 204 #if defined(ENABLE_PLUGINS) | 205 #if defined(ENABLE_PLUGINS) |
| 205 std::set<std::string> allowed_compositor_origins_; | 206 std::set<std::string> allowed_compositor_origins_; |
| 206 std::set<std::string> allowed_video_decode_origins_; | 207 std::set<std::string> allowed_video_decode_origins_; |
| 207 #endif | 208 #endif |
| 208 }; | 209 }; |
| 209 | 210 |
| 210 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 211 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |