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

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

Issue 9811022: Misc. small cleanups to minimize TemplateURL refactoring diffs: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
===================================================================
--- chrome/browser/ui/views/edit_search_engine_dialog.cc (revision 128075)
+++ chrome/browser/ui/views/edit_search_engine_dialog.cc (working copy)
@@ -126,11 +126,11 @@
void EditSearchEngineDialog::Init() {
// Create the views we'll need.
if (controller_->template_url()) {
- title_tf_ =
- CreateTextfield(controller_->template_url()->short_name(), false);
+ title_tf_ = CreateTextfield(controller_->template_url()->short_name(),
+ false);
keyword_tf_ = CreateTextfield(controller_->template_url()->keyword(), true);
- url_tf_ =
- CreateTextfield(GetDisplayURL(*controller_->template_url()), false);
+ url_tf_ = CreateTextfield(GetDisplayURL(*controller_->template_url()),
+ false);
// We don't allow users to edit prepopulate URLs. This is done as
// occasionally we need to update the URL of prepopulated TemplateURLs.
url_tf_->SetReadOnly(controller_->template_url()->prepopulate_id() != 0);

Powered by Google App Engine
This is Rietveld 408576698