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

Unified Diff: chrome/browser/chromeos/options/wifi_config_view.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/chromeos/options/wifi_config_view.h
diff --git a/chrome/browser/chromeos/options/wifi_config_view.h b/chrome/browser/chromeos/options/wifi_config_view.h
index 74d973ee53b45560df0b0714f568d7a43eff4768..3761e848f195f5824966a3d268cbf289de80a22b 100644
--- a/chrome/browser/chromeos/options/wifi_config_view.h
+++ b/chrome/browser/chromeos/options/wifi_config_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 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.
@@ -18,7 +18,7 @@
#include "views/controls/button/image_button.h"
#include "views/controls/button/native_button.h"
#include "views/controls/combobox/combobox.h"
-#include "views/controls/textfield/textfield.h"
+#include "views/controls/textfield/textfield_controller.h"
#include "views/view.h"
class FilePath;
@@ -29,7 +29,7 @@ class NetworkConfigView;
// A dialog box for showing a password textfield.
class WifiConfigView : public views::View,
- public views::Textfield::Controller,
+ public views::TextfieldController,
public views::ButtonListener,
public views::Combobox::Listener,
public SelectFileDialog::Listener {
@@ -40,20 +40,20 @@ class WifiConfigView : public views::View,
explicit WifiConfigView(NetworkConfigView* parent);
virtual ~WifiConfigView();
- // views::Textfield::Controller methods.
+ // views::TextfieldController:
virtual void ContentsChanged(views::Textfield* sender,
const string16& new_contents);
virtual bool HandleKeyEvent(views::Textfield* sender,
const views::KeyEvent& key_event);
- // views::ButtonListener
+ // views::ButtonListener:
virtual void ButtonPressed(views::Button* sender, const views::Event& event);
- // views::Combobox::Listener
+ // views::Combobox::Listener:
virtual void ItemChanged(views::Combobox* combo_box,
int prev_index, int new_index);
- // SelectFileDialog::Listener implementation.
+ // SelectFileDialog::Listener:
virtual void FileSelected(const FilePath& path, int index, void* params);
// Login to network. Returns false if the dialog should remain open.
« no previous file with comments | « chrome/browser/chromeos/login/screen_lock_view.cc ('k') | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698