Index: content/browser/renderer_host/render_widget_host_view_aura.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h |
index b5baff81b9ca19fe8190a9c8b46e42df508bb6c5..bb39e28ea82cc738cc3f58398c64ee68f5e2a9d8 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.h |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h |
@@ -332,6 +332,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAura |
return delegated_frame_host_.get(); |
} |
+ // Returns the top level window that is hosting the renderwidget. |
+ virtual aura::Window* GetToplevelWindow(); |
+ |
private: |
friend class DelegatedFrameHostClientAura; |
friend class InputMethodAuraTestBase; |
@@ -370,6 +373,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAura |
FinishCompositionByMouse); |
FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
ForwardsBeginFrameAcks); |
+ FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, |
+ VirtualKeyboardFocusEnsureCaretInRect); |
FRIEND_TEST_ALL_PREFIXES(WebContentsViewAuraTest, |
WebContentsViewReparent); |
@@ -443,9 +448,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura |
// parent. |
void ApplyEventFilterForPopupExit(ui::LocatedEvent* event); |
- // Converts |rect| from screen coordinate to window coordinate. |
- gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const; |
- |
// Called when the parent window bounds change. |
void HandleParentBoundsChanged(); |