Index: content/public/renderer/render_view.h |
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h |
index c7ab4af97551a6ea8bbc42609c6f262bbd31e9ab..be422b0f59861dc6e23ef6bb4125d06b4d1924fb 100644 |
--- a/content/public/renderer/render_view.h |
+++ b/content/public/renderer/render_view.h |
@@ -18,6 +18,7 @@ |
struct WebPreferences; |
namespace blink { |
+class WebElement; |
class WebFrame; |
class WebNode; |
class WebString; |
@@ -75,8 +76,8 @@ class CONTENT_EXPORT RenderView : public IPC::Sender { |
// Returns the associated WebView. May return NULL when the view is closing. |
virtual blink::WebView* GetWebView() = 0; |
- // Gets the focused node. If no such node exists then the node will be isNull. |
- virtual blink::WebNode GetFocusedNode() const = 0; |
+ // Gets the focused element. If no such node exists then the element will Null. |
jam
2014/02/26 17:48:54
nit: 80 chars
|
+ virtual blink::WebElement GetFocusedElement() const = 0; |
// Gets the node that the context menu was pressed over. |
virtual blink::WebNode GetContextMenuNode() const = 0; |