Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 2553603002: New accessibility virtual keyboard behavior in non-sticky mode. (Closed)
Patch Set: Remove TextInputClient::OnClientFocusLost() Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 543ca061fbe800fd4cf91d37df3134bc9729d759..ac913dacdc1a985980a51066a772698e14684768 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -330,6 +330,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;
@@ -368,6 +371,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
FinishCompositionByMouse);
FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest,
ForwardsBeginFrameAcks);
+ FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest,
+ VirtualKeyboardFocusEnsureCaretInRect);
FRIEND_TEST_ALL_PREFIXES(WebContentsViewAuraTest,
WebContentsViewReparent);
@@ -441,9 +446,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();

Powered by Google App Engine
This is Rietveld 408576698