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

Unified Diff: chrome/browser/ui/views/edit_search_engine_dialog.cc

Issue 9358049: Implement STYLE_LOWERCASE style for Aura NativeTextfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add MaybeLowerCase(), test descriptions and cursor position assertion. Created 8 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: chrome/browser/ui/views/edit_search_engine_dialog.cc
diff --git a/chrome/browser/ui/views/edit_search_engine_dialog.cc b/chrome/browser/ui/views/edit_search_engine_dialog.cc
index f0b580cdba96ead044d639e88a39aff3626df573..805deea3e57bcf18b03052b1e09b6aec2122c8cd 100644
--- a/chrome/browser/ui/views/edit_search_engine_dialog.cc
+++ b/chrome/browser/ui/views/edit_search_engine_dialog.cc
@@ -229,14 +229,7 @@ views::Label* EditSearchEngineDialog::CreateLabel(int message_id) {
Textfield* EditSearchEngineDialog::CreateTextfield(const string16& text,
bool lowercase) {
Textfield* text_field = new Textfield(
-#if defined(USE_AURA)
- Textfield::STYLE_DEFAULT);
- NOTIMPLEMENTED(); // TODO(beng): support lowercase mode in
- // NativeTextfieldViews.
- // http://crbug.com/109308
-#else
lowercase ? Textfield::STYLE_LOWERCASE : Textfield::STYLE_DEFAULT);
-#endif
text_field->SetText(text);
text_field->SetController(this);
return text_field;

Powered by Google App Engine
This is Rietveld 408576698