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

Unified Diff: content/shell/browser/shell_views.cc

Issue 2819473003: Set TextInputType to some Textfields. (Closed)
Patch Set: 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
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index cc77a7a91da174c0c786b95b6e719eda350ea657..6bfe64c5fea9b9a678b0abf9753412ab8d5926c3 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -174,6 +174,7 @@ class ShellWindowDelegateView : public views::WidgetDelegateView,
// URL entry
url_entry_ = new views::Textfield();
url_entry_->set_controller(this);
+ url_entry_->SetTextInputType(ui::TextInputType::TEXT_INPUT_TYPE_URL);
toolbar_column_set->AddColumn(views::GridLayout::FILL,
views::GridLayout::FILL, 1,
views::GridLayout::USE_PREF, 0, 0);
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698