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

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: Update 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
Index: mandoline/ui/omnibox/omnibox_impl.cc
diff --git a/mandoline/ui/omnibox/omnibox_impl.cc b/mandoline/ui/omnibox/omnibox_impl.cc
index eba94bbeb4e32d5e58175f65612085381a5f9748..121316dd58f73a29442e40ed000c102056cc2381 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;

Powered by Google App Engine
This is Rietveld 408576698