| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 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 const CustomContextMenuContext& context) OVERRIDE; | 213 const CustomContextMenuContext& context) OVERRIDE; |
| 214 virtual void NotifyMoveOrResizeStarted() OVERRIDE; | 214 virtual void NotifyMoveOrResizeStarted() OVERRIDE; |
| 215 virtual void ReloadFrame() OVERRIDE; | 215 virtual void ReloadFrame() OVERRIDE; |
| 216 virtual void SetAltErrorPageURL(const GURL& url) OVERRIDE; | 216 virtual void SetAltErrorPageURL(const GURL& url) OVERRIDE; |
| 217 virtual void SetWebUIProperty(const std::string& name, | 217 virtual void SetWebUIProperty(const std::string& name, |
| 218 const std::string& value) OVERRIDE; | 218 const std::string& value) OVERRIDE; |
| 219 virtual void SetZoomLevel(double level) OVERRIDE; | 219 virtual void SetZoomLevel(double level) OVERRIDE; |
| 220 virtual void Zoom(PageZoom zoom) OVERRIDE; | 220 virtual void Zoom(PageZoom zoom) OVERRIDE; |
| 221 virtual void SyncRendererPrefs() OVERRIDE; | 221 virtual void SyncRendererPrefs() OVERRIDE; |
| 222 virtual void ToggleSpeechInput() OVERRIDE; | 222 virtual void ToggleSpeechInput() OVERRIDE; |
| 223 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) OVERRIDE; | 223 virtual void UpdateWebkitPreferences( |
| 224 const webkit_glue::WebPreferences& prefs) OVERRIDE; |
| 224 | 225 |
| 225 void set_delegate(RenderViewHostDelegate* d) { | 226 void set_delegate(RenderViewHostDelegate* d) { |
| 226 CHECK(d); // http://crbug.com/82827 | 227 CHECK(d); // http://crbug.com/82827 |
| 227 delegate_ = d; | 228 delegate_ = d; |
| 228 } | 229 } |
| 229 | 230 |
| 230 // Set up the RenderView child process. Virtual because it is overridden by | 231 // Set up the RenderView child process. Virtual because it is overridden by |
| 231 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used | 232 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used |
| 232 // as the name of the new top-level frame. The |opener_route_id| parameter | 233 // as the name of the new top-level frame. The |opener_route_id| parameter |
| 233 // indicates which RenderView created this (MSG_ROUTING_NONE if none). If | 234 // indicates which RenderView created this (MSG_ROUTING_NONE if none). If |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 642 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 642 }; | 643 }; |
| 643 | 644 |
| 644 #if defined(COMPILER_MSVC) | 645 #if defined(COMPILER_MSVC) |
| 645 #pragma warning(pop) | 646 #pragma warning(pop) |
| 646 #endif | 647 #endif |
| 647 | 648 |
| 648 } // namespace content | 649 } // namespace content |
| 649 | 650 |
| 650 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 651 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |