Index: content/public/renderer/render_view.h |
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h |
index d02fa8f537dce23fb787f3add73f7c7630196a34..f913f64e59dc00f3e5d66e1df563beffab7c7d70 100644 |
--- a/content/public/renderer/render_view.h |
+++ b/content/public/renderer/render_view.h |
@@ -21,6 +21,7 @@ |
namespace blink { |
class WebElement; |
class WebFrame; |
+class WebFrameWidget; |
class WebLocalFrame; |
class WebNode; |
class WebString; |
@@ -88,6 +89,9 @@ class CONTENT_EXPORT RenderView : public IPC::Sender { |
// Returns the associated WebView. May return NULL when the view is closing. |
virtual blink::WebView* GetWebView() = 0; |
+ // Returns the associated WebFrameWidget. |
+ virtual blink::WebFrameWidget* GetWebFrameWidget() = 0; |
+ |
// Returns true if we should display scrollbars for the given view size and |
// false if the scrollbars should be hidden. |
virtual bool ShouldDisplayScrollbars(int width, int height) const = 0; |