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

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

Issue 6628037: views: Moves TextfieldController/TextRange into their own headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 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.h
diff --git a/chrome/browser/ui/views/edit_search_engine_dialog.h b/chrome/browser/ui/views/edit_search_engine_dialog.h
index cdc9e8144d3a9eb2851fe544baee09ad06517a23..12ae190d291b518c93bd7696608dcf1ce69efff0 100644
--- a/chrome/browser/ui/views/edit_search_engine_dialog.h
+++ b/chrome/browser/ui/views/edit_search_engine_dialog.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -13,7 +13,7 @@
#include <windows.h>
-#include "views/controls/textfield/textfield.h"
+#include "views/controls/textfield/textfield_controller.h"
#include "views/window/dialog_delegate.h"
namespace views {
@@ -29,7 +29,7 @@ class TemplateURL;
class TemplateURLModel;
class EditSearchEngineDialog : public views::View,
- public views::Textfield::Controller,
+ public views::TextfieldController,
public views::DialogDelegate {
public:
// The |template_url| and/or |delegate| may be NULL.
@@ -44,7 +44,7 @@ class EditSearchEngineDialog : public views::View,
EditSearchEngineControllerDelegate* delegate,
Profile* profile);
- // views::DialogDelegate overrides.
+ // views::DialogDelegate:
virtual bool IsModal() const;
virtual std::wstring GetWindowTitle() const;
virtual bool IsDialogButtonEnabled(
@@ -53,9 +53,9 @@ class EditSearchEngineDialog : public views::View,
virtual bool Accept();
virtual views::View* GetContentsView();
- // views::Textfield::Controller overrides. Updates whether the user can
- // accept the dialog as well as updating image views showing whether value is
- // valid.
+ // views::TextfieldController:
+ // Updates whether the user can accept the dialog as well as updating image
+ // views showing whether value is valid.
virtual void ContentsChanged(views::Textfield* sender,
const std::wstring& new_contents);
virtual bool HandleKeyEvent(views::Textfield* sender,
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc ('k') | chrome/browser/ui/views/edit_search_engine_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698