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

Unified Diff: mandoline/ui/omnibox/omnibox_impl.cc

Issue 1286383003: Mandoline: Enable Android software keyboard for the Omnibox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review issues Created 5 years, 4 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
« no previous file with comments | « mandoline/ui/aura/window_tree_host_mojo.cc ('k') | mojo/converters/ime/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/omnibox/omnibox_impl.cc
diff --git a/mandoline/ui/omnibox/omnibox_impl.cc b/mandoline/ui/omnibox/omnibox_impl.cc
index 2cb8e8b67686b0ed79c214b37d71a3e7086986c4..a54eea8e1891393853a53adbbbd5cd104a7a83d1 100644
--- a/mandoline/ui/omnibox/omnibox_impl.cc
+++ b/mandoline/ui/omnibox/omnibox_impl.cc
@@ -56,6 +56,7 @@ void OmniboxImpl::OnEmbed(mojo::View* root) {
aura_init_.reset(new AuraInit(root, app_impl_->shell()));
edit_ = new views::Textfield;
edit_->set_controller(this);
+ edit_->SetTextInputType(ui::TEXT_INPUT_TYPE_URL);
}
const int kOpacity = 0xC0;
« no previous file with comments | « mandoline/ui/aura/window_tree_host_mojo.cc ('k') | mojo/converters/ime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698