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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 const WebKit::WebURL& frame_url, | 653 const WebKit::WebURL& frame_url, |
654 const WebKit::WebCString& data, | 654 const WebKit::WebCString& data, |
655 PageSerializationStatus status) OVERRIDE; | 655 PageSerializationStatus status) OVERRIDE; |
656 | 656 |
657 // content::RenderView implementation ---------------------------------------- | 657 // content::RenderView implementation ---------------------------------------- |
658 | 658 |
659 virtual bool Send(IPC::Message* message) OVERRIDE; | 659 virtual bool Send(IPC::Message* message) OVERRIDE; |
660 virtual int GetRoutingID() const OVERRIDE; | 660 virtual int GetRoutingID() const OVERRIDE; |
661 virtual int GetPageId() const OVERRIDE; | 661 virtual int GetPageId() const OVERRIDE; |
662 virtual gfx::Size GetSize() const OVERRIDE; | 662 virtual gfx::Size GetSize() const OVERRIDE; |
663 virtual gfx::NativeViewId GetHostWindow() const OVERRIDE; | |
664 virtual webkit_glue::WebPreferences& GetWebkitPreferences() OVERRIDE; | 663 virtual webkit_glue::WebPreferences& GetWebkitPreferences() OVERRIDE; |
665 virtual WebKit::WebView* GetWebView() OVERRIDE; | 664 virtual WebKit::WebView* GetWebView() OVERRIDE; |
666 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE; | 665 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE; |
667 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE; | 666 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE; |
668 virtual bool IsEditableNode(const WebKit::WebNode& node) const OVERRIDE; | 667 virtual bool IsEditableNode(const WebKit::WebNode& node) const OVERRIDE; |
669 virtual WebKit::WebPlugin* CreatePlugin( | 668 virtual WebKit::WebPlugin* CreatePlugin( |
670 WebKit::WebFrame* frame, | 669 WebKit::WebFrame* frame, |
671 const webkit::WebPluginInfo& info, | 670 const webkit::WebPluginInfo& info, |
672 const WebKit::WebPluginParams& params) OVERRIDE; | 671 const WebKit::WebPluginParams& params) OVERRIDE; |
673 virtual void EvaluateScript(const string16& frame_xpath, | 672 virtual void EvaluateScript(const string16& frame_xpath, |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1430 // bunch of stuff, you should probably create a helper class and put your | 1429 // bunch of stuff, you should probably create a helper class and put your |
1431 // data and methods on that to avoid bloating RenderView more. You can | 1430 // data and methods on that to avoid bloating RenderView more. You can |
1432 // use the Observer interface to filter IPC messages and receive frame change | 1431 // use the Observer interface to filter IPC messages and receive frame change |
1433 // notifications. | 1432 // notifications. |
1434 // --------------------------------------------------------------------------- | 1433 // --------------------------------------------------------------------------- |
1435 | 1434 |
1436 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1435 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1437 }; | 1436 }; |
1438 | 1437 |
1439 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1438 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |