| 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 virtual void SetWebUIProperty(const std::string& name, | 213 virtual void SetWebUIProperty(const std::string& name, |
| 214 const std::string& value) OVERRIDE; | 214 const std::string& value) OVERRIDE; |
| 215 virtual void Zoom(PageZoom zoom) OVERRIDE; | 215 virtual void Zoom(PageZoom zoom) OVERRIDE; |
| 216 virtual void SyncRendererPrefs() OVERRIDE; | 216 virtual void SyncRendererPrefs() OVERRIDE; |
| 217 virtual void ToggleSpeechInput() OVERRIDE; | 217 virtual void ToggleSpeechInput() OVERRIDE; |
| 218 virtual WebPreferences GetWebkitPreferences() OVERRIDE; | 218 virtual WebPreferences GetWebkitPreferences() OVERRIDE; |
| 219 virtual void UpdateWebkitPreferences( | 219 virtual void UpdateWebkitPreferences( |
| 220 const WebPreferences& prefs) OVERRIDE; | 220 const WebPreferences& prefs) OVERRIDE; |
| 221 virtual void GetAudioOutputControllers( | 221 virtual void GetAudioOutputControllers( |
| 222 const GetAudioOutputControllersCallback& callback) const OVERRIDE; | 222 const GetAudioOutputControllersCallback& callback) const OVERRIDE; |
| 223 virtual void SetWebUIHandle(mojo::ScopedMessagePipeHandle handle) OVERRIDE; |
| 223 | 224 |
| 224 #if defined(OS_ANDROID) | 225 #if defined(OS_ANDROID) |
| 225 virtual void ActivateNearestFindResult(int request_id, | 226 virtual void ActivateNearestFindResult(int request_id, |
| 226 float x, | 227 float x, |
| 227 float y) OVERRIDE; | 228 float y) OVERRIDE; |
| 228 virtual void RequestFindMatchRects(int current_version) OVERRIDE; | 229 virtual void RequestFindMatchRects(int current_version) OVERRIDE; |
| 229 virtual void DisableFullscreenEncryptedMediaPlayback() OVERRIDE; | 230 virtual void DisableFullscreenEncryptedMediaPlayback() OVERRIDE; |
| 230 #endif | 231 #endif |
| 231 | 232 |
| 232 #if defined(USE_MOJO) | |
| 233 virtual void SetWebUIHandle(mojo::ScopedMessagePipeHandle handle) OVERRIDE; | |
| 234 #endif | |
| 235 | |
| 236 void set_delegate(RenderViewHostDelegate* d) { | 233 void set_delegate(RenderViewHostDelegate* d) { |
| 237 CHECK(d); // http://crbug.com/82827 | 234 CHECK(d); // http://crbug.com/82827 |
| 238 delegate_ = d; | 235 delegate_ = d; |
| 239 } | 236 } |
| 240 | 237 |
| 241 // Set up the RenderView child process. Virtual because it is overridden by | 238 // Set up the RenderView child process. Virtual because it is overridden by |
| 242 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used | 239 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used |
| 243 // as the name of the new top-level frame. | 240 // as the name of the new top-level frame. |
| 244 // The |opener_route_id| parameter indicates which RenderView created this | 241 // The |opener_route_id| parameter indicates which RenderView created this |
| 245 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the | 242 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the |
| (...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 698 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 702 }; | 699 }; |
| 703 | 700 |
| 704 #if defined(COMPILER_MSVC) | 701 #if defined(COMPILER_MSVC) |
| 705 #pragma warning(pop) | 702 #pragma warning(pop) |
| 706 #endif | 703 #endif |
| 707 | 704 |
| 708 } // namespace content | 705 } // namespace content |
| 709 | 706 |
| 710 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 707 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |