Index: content/browser/renderer_host/render_widget_host_view_win.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_win.h b/content/browser/renderer_host/render_widget_host_view_win.h |
index 9822ee4492baf822ad30a048beef1130a0f1cb50..b025ec3a42960372cfeacbcd2f8404d7777d1d74 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_win.h |
+++ b/content/browser/renderer_host/render_widget_host_view_win.h |
@@ -48,6 +48,10 @@ namespace ui { |
class ViewProp; |
} |
+namespace WebKit { |
+struct WebScreenInfo; |
+} |
+ |
namespace content { |
class BackingStore; |
class RenderWidgetHost; |
@@ -272,6 +276,7 @@ class RenderWidgetHostViewWin |
base::i18n::TextDirection direction) OVERRIDE; |
virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; |
+ virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
protected: |
friend class RenderWidgetHostView; |
@@ -413,6 +418,9 @@ class RenderWidgetHostViewWin |
// current |text_input_type_|. |
void UpdateIMEState(); |
+ // Returns bounds of the view in pixels. |
+ gfx::Rect getPixelBounds() const; |
+ |
// The associated Model. While |this| is being Destroyed, |
// |render_widget_host_| is NULL and the Windows message loop is run one last |
// time. Message handlers must check for a NULL |render_widget_host_|. |