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 0abe1a6ac0a7b848f380d76a2b9c359572807996..98fcedcf8872636a7a283a9a31576ffaa2132ed9 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; |
@@ -209,6 +213,7 @@ class RenderWidgetHostViewWin |
bool has_horizontal_scrollbar) OVERRIDE; |
virtual void SetScrollOffsetPinning( |
bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
+ virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
virtual void AcceleratedSurfaceBuffersSwapped( |
@@ -413,6 +418,9 @@ class RenderWidgetHostViewWin |
// current |text_input_type_|. |
void UpdateIMEState(); |
+ // Returns bounds of the view in pixels. |
+ gfx::Rect GetPixelBounds() const; |
+ |
// Sets the appropriate input scope for given |text_input_type| if TSF-aware |
// is not required. Does nothing if TSF-aware is required (and TSF text store |
// is responsible for managing input scope). Currently input scope will only |