| 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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 } | 205 } |
| 206 | 206 |
| 207 const RendererPreferences& renderer_preferences() const { | 207 const RendererPreferences& renderer_preferences() const { |
| 208 return renderer_preferences_; | 208 return renderer_preferences_; |
| 209 } | 209 } |
| 210 | 210 |
| 211 void set_send_content_state_immediately(bool value) { | 211 void set_send_content_state_immediately(bool value) { |
| 212 send_content_state_immediately_ = value; | 212 send_content_state_immediately_ = value; |
| 213 } | 213 } |
| 214 | 214 |
| 215 RenderFrameImpl* main_render_frame() { return main_render_frame_.get(); } | |
| 216 | |
| 217 MouseLockDispatcher* mouse_lock_dispatcher() { | 215 MouseLockDispatcher* mouse_lock_dispatcher() { |
| 218 return mouse_lock_dispatcher_; | 216 return mouse_lock_dispatcher_; |
| 219 } | 217 } |
| 220 | 218 |
| 221 HistoryController* history_controller() { | 219 HistoryController* history_controller() { |
| 222 return history_controller_.get(); | 220 return history_controller_.get(); |
| 223 } | 221 } |
| 224 | 222 |
| 225 // Lazily initialize this view's BrowserPluginManager and return it. | 223 // Lazily initialize this view's BrowserPluginManager and return it. |
| 226 BrowserPluginManager* GetBrowserPluginManager(); | 224 BrowserPluginManager* GetBrowserPluginManager(); |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 // blink::WebPageSerializerClient implementation ---------------------------- | 454 // blink::WebPageSerializerClient implementation ---------------------------- |
| 457 | 455 |
| 458 virtual void didSerializeDataForFrame( | 456 virtual void didSerializeDataForFrame( |
| 459 const blink::WebURL& frame_url, | 457 const blink::WebURL& frame_url, |
| 460 const blink::WebCString& data, | 458 const blink::WebCString& data, |
| 461 PageSerializationStatus status) OVERRIDE; | 459 PageSerializationStatus status) OVERRIDE; |
| 462 | 460 |
| 463 // RenderView implementation ------------------------------------------------- | 461 // RenderView implementation ------------------------------------------------- |
| 464 | 462 |
| 465 virtual bool Send(IPC::Message* message) OVERRIDE; | 463 virtual bool Send(IPC::Message* message) OVERRIDE; |
| 466 virtual RenderFrame* GetMainRenderFrame() OVERRIDE; | 464 virtual RenderFrameImpl* GetMainRenderFrame() OVERRIDE; |
| 467 virtual int GetRoutingID() const OVERRIDE; | 465 virtual int GetRoutingID() const OVERRIDE; |
| 468 virtual gfx::Size GetSize() const OVERRIDE; | 466 virtual gfx::Size GetSize() const OVERRIDE; |
| 469 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; | 467 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; |
| 470 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; | 468 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; |
| 471 virtual blink::WebView* GetWebView() OVERRIDE; | 469 virtual blink::WebView* GetWebView() OVERRIDE; |
| 472 virtual blink::WebElement GetFocusedElement() const OVERRIDE; | 470 virtual blink::WebElement GetFocusedElement() const OVERRIDE; |
| 473 virtual bool IsEditableNode(const blink::WebNode& node) const OVERRIDE; | 471 virtual bool IsEditableNode(const blink::WebNode& node) const OVERRIDE; |
| 474 virtual bool NodeContainsPoint(const blink::WebNode& node, | 472 virtual bool NodeContainsPoint(const blink::WebNode& node, |
| 475 const gfx::Point& point) const OVERRIDE; | 473 const gfx::Point& point) const OVERRIDE; |
| 476 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; | 474 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 // use the Observer interface to filter IPC messages and receive frame change | 1129 // use the Observer interface to filter IPC messages and receive frame change |
| 1132 // notifications. | 1130 // notifications. |
| 1133 // --------------------------------------------------------------------------- | 1131 // --------------------------------------------------------------------------- |
| 1134 | 1132 |
| 1135 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1133 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1136 }; | 1134 }; |
| 1137 | 1135 |
| 1138 } // namespace content | 1136 } // namespace content |
| 1139 | 1137 |
| 1140 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1138 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |