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 818fcdc232908412d4ff4eb76f9097bf88b60cd8..1c47bfddb218dc423f75e5b5267a209ab804d7f3 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.h |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h |
@@ -219,6 +219,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura |
base::i18n::TextDirection direction) override; |
void ExtendSelectionAndDelete(size_t before, size_t after) override; |
void EnsureCaretNotInRect(const gfx::Rect& rect) override; |
+ void OnClientFocusLost() override; |
bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override; |
void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override; |
@@ -328,6 +329,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; |
@@ -438,9 +442,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(); |