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

Unified Diff: content/test/test_render_view_host.cc

Issue 173803002: Redesigns the text input focus handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments from msw. Created 6 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/test/test_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index a7bea95f1946a5dc04e373a8adcf63f35f74badb..c68ed2345d4d79308faf85a2cf3cd9b343e7ea0b 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -68,6 +68,10 @@ gfx::NativeViewAccessible TestRenderWidgetHostView::GetNativeViewAccessible() {
return NULL;
}
+ui::TextInputClient* TestRenderWidgetHostView::GetTextInputClient() {
+ return &text_input_client_;
+}
+
bool TestRenderWidgetHostView::HasFocus() const {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698