| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 } | 52 } |
| 53 | 53 |
| 54 namespace WebKit { | 54 namespace WebKit { |
| 55 class WebSecurityOrigin; | 55 class WebSecurityOrigin; |
| 56 } | 56 } |
| 57 | 57 |
| 58 #if defined(ENABLE_WEBRTC) | 58 #if defined(ENABLE_WEBRTC) |
| 59 class WebRtcLoggingMessageFilter; | 59 class WebRtcLoggingMessageFilter; |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 namespace chrome { | |
| 63 | |
| 64 class ChromeContentRendererClient : public content::ContentRendererClient { | 62 class ChromeContentRendererClient : public content::ContentRendererClient { |
| 65 public: | 63 public: |
| 66 ChromeContentRendererClient(); | 64 ChromeContentRendererClient(); |
| 67 virtual ~ChromeContentRendererClient(); | 65 virtual ~ChromeContentRendererClient(); |
| 68 | 66 |
| 69 virtual void RenderThreadStarted() OVERRIDE; | 67 virtual void RenderThreadStarted() OVERRIDE; |
| 70 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; | 68 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; |
| 71 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; | 69 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; |
| 72 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 70 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
| 73 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; | 71 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 #if defined(ENABLE_WEBRTC) | 218 #if defined(ENABLE_WEBRTC) |
| 221 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 219 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 222 #endif | 220 #endif |
| 223 scoped_ptr<SearchBouncer> search_bouncer_; | 221 scoped_ptr<SearchBouncer> search_bouncer_; |
| 224 | 222 |
| 225 #if defined(ENABLE_PLUGINS) | 223 #if defined(ENABLE_PLUGINS) |
| 226 std::set<std::string> allowed_file_handle_origins_; | 224 std::set<std::string> allowed_file_handle_origins_; |
| 227 #endif | 225 #endif |
| 228 }; | 226 }; |
| 229 | 227 |
| 230 } // namespace chrome | |
| 231 | |
| 232 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 228 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |