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 28 matching lines...) Expand all Loading... |
39 #include "content/renderer/mouse_lock_dispatcher.h" | 39 #include "content/renderer/mouse_lock_dispatcher.h" |
40 #include "content/renderer/render_frame_impl.h" | 40 #include "content/renderer/render_frame_impl.h" |
41 #include "content/renderer/render_widget.h" | 41 #include "content/renderer/render_widget.h" |
42 #include "content/renderer/renderer_date_time_picker.h" | 42 #include "content/renderer/renderer_date_time_picker.h" |
43 #include "content/renderer/stats_collection_observer.h" | 43 #include "content/renderer/stats_collection_observer.h" |
44 #include "ipc/ipc_platform_file.h" | 44 #include "ipc/ipc_platform_file.h" |
45 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 45 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
46 #include "third_party/WebKit/public/web/WebAXObject.h" | 46 #include "third_party/WebKit/public/web/WebAXObject.h" |
47 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 47 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
48 #include "third_party/WebKit/public/web/WebDataSource.h" | 48 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 49 #include "third_party/WebKit/public/web/WebElement.h" |
49 #include "third_party/WebKit/public/web/WebFrameClient.h" | 50 #include "third_party/WebKit/public/web/WebFrameClient.h" |
50 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 51 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
51 #include "third_party/WebKit/public/web/WebIconURL.h" | 52 #include "third_party/WebKit/public/web/WebIconURL.h" |
52 #include "third_party/WebKit/public/web/WebInputEvent.h" | 53 #include "third_party/WebKit/public/web/WebInputEvent.h" |
53 #include "third_party/WebKit/public/web/WebNavigationType.h" | 54 #include "third_party/WebKit/public/web/WebNavigationType.h" |
54 #include "third_party/WebKit/public/web/WebNode.h" | 55 #include "third_party/WebKit/public/web/WebNode.h" |
55 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" | 56 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" |
56 #include "third_party/WebKit/public/web/WebPageVisibilityState.h" | 57 #include "third_party/WebKit/public/web/WebPageVisibilityState.h" |
57 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" | 58 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" |
58 #include "third_party/WebKit/public/web/WebViewClient.h" | 59 #include "third_party/WebKit/public/web/WebViewClient.h" |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 // RenderView implementation ------------------------------------------------- | 626 // RenderView implementation ------------------------------------------------- |
626 | 627 |
627 virtual bool Send(IPC::Message* message) OVERRIDE; | 628 virtual bool Send(IPC::Message* message) OVERRIDE; |
628 virtual RenderFrame* GetMainRenderFrame() OVERRIDE; | 629 virtual RenderFrame* GetMainRenderFrame() OVERRIDE; |
629 virtual int GetRoutingID() const OVERRIDE; | 630 virtual int GetRoutingID() const OVERRIDE; |
630 virtual int GetPageId() const OVERRIDE; | 631 virtual int GetPageId() const OVERRIDE; |
631 virtual gfx::Size GetSize() const OVERRIDE; | 632 virtual gfx::Size GetSize() const OVERRIDE; |
632 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; | 633 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; |
633 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; | 634 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; |
634 virtual blink::WebView* GetWebView() OVERRIDE; | 635 virtual blink::WebView* GetWebView() OVERRIDE; |
635 virtual blink::WebNode GetFocusedNode() const OVERRIDE; | 636 virtual blink::WebElement GetFocusedElement() const OVERRIDE; |
636 virtual blink::WebNode GetContextMenuNode() const OVERRIDE; | 637 virtual blink::WebNode GetContextMenuNode() const OVERRIDE; |
637 virtual bool IsEditableNode(const blink::WebNode& node) const OVERRIDE; | 638 virtual bool IsEditableNode(const blink::WebNode& node) const OVERRIDE; |
638 virtual void EvaluateScript(const base::string16& frame_xpath, | 639 virtual void EvaluateScript(const base::string16& frame_xpath, |
639 const base::string16& jscript, | 640 const base::string16& jscript, |
640 int id, | 641 int id, |
641 bool notify_result) OVERRIDE; | 642 bool notify_result) OVERRIDE; |
642 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; | 643 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; |
643 virtual int GetEnabledBindings() const OVERRIDE; | 644 virtual int GetEnabledBindings() const OVERRIDE; |
644 virtual bool GetContentStateImmediately() const OVERRIDE; | 645 virtual bool GetContentStateImmediately() const OVERRIDE; |
645 virtual float GetFilteredTimePerFrame() const OVERRIDE; | 646 virtual float GetFilteredTimePerFrame() const OVERRIDE; |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1455 // use the Observer interface to filter IPC messages and receive frame change | 1456 // use the Observer interface to filter IPC messages and receive frame change |
1456 // notifications. | 1457 // notifications. |
1457 // --------------------------------------------------------------------------- | 1458 // --------------------------------------------------------------------------- |
1458 | 1459 |
1459 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1460 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1460 }; | 1461 }; |
1461 | 1462 |
1462 } // namespace content | 1463 } // namespace content |
1463 | 1464 |
1464 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1465 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |