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

Side by Side Diff: chrome/browser/chromeos/options/wifi_config_view.h

Issue 7635027: Change show/hide password button image. Changed to ToggleImageButton. Added tooltip to the button. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "chrome/browser/chromeos/cros/cert_library.h" 13 #include "chrome/browser/chromeos/cros/cert_library.h"
14 #include "chrome/browser/chromeos/options/network_config_view.h" 14 #include "chrome/browser/chromeos/options/network_config_view.h"
15 #include "ui/base/models/combobox_model.h" 15 #include "ui/base/models/combobox_model.h"
16 #include "views/controls/button/button.h" 16 #include "views/controls/button/button.h"
17 #include "views/controls/combobox/combobox.h" 17 #include "views/controls/combobox/combobox.h"
18 #include "views/controls/textfield/textfield_controller.h" 18 #include "views/controls/textfield/textfield_controller.h"
19 #include "views/view.h" 19 #include "views/view.h"
20 20
21 namespace views { 21 namespace views {
22 class Checkbox; 22 class Checkbox;
23 class ImageButton; 23 class ToggleImageButton;
24 class Label; 24 class Label;
25 } 25 }
26 26
27 class FilePath; 27 class FilePath;
28 28
29 namespace chromeos { 29 namespace chromeos {
30 30
31 // A dialog box for showing a password textfield. 31 // A dialog box for showing a password textfield.
32 class WifiConfigView : public ChildNetworkConfigView, 32 class WifiConfigView : public ChildNetworkConfigView,
33 public views::TextfieldController, 33 public views::TextfieldController,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 views::Label* identity_label_; 119 views::Label* identity_label_;
120 views::Textfield* identity_textfield_; 120 views::Textfield* identity_textfield_;
121 views::Label* identity_anonymous_label_; 121 views::Label* identity_anonymous_label_;
122 views::Textfield* identity_anonymous_textfield_; 122 views::Textfield* identity_anonymous_textfield_;
123 views::Checkbox* save_credentials_checkbox_; 123 views::Checkbox* save_credentials_checkbox_;
124 views::Checkbox* share_network_checkbox_; 124 views::Checkbox* share_network_checkbox_;
125 views::Label* shared_network_label_; 125 views::Label* shared_network_label_;
126 views::Combobox* security_combobox_; 126 views::Combobox* security_combobox_;
127 views::Label* passphrase_label_; 127 views::Label* passphrase_label_;
128 views::Textfield* passphrase_textfield_; 128 views::Textfield* passphrase_textfield_;
129 views::ImageButton* passphrase_visible_button_; 129 views::ToggleImageButton* passphrase_visible_button_;
130 views::Label* error_label_; 130 views::Label* error_label_;
131 131
132 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); 132 DISALLOW_COPY_AND_ASSIGN(WifiConfigView);
133 }; 133 };
134 134
135 } // namespace chromeos 135 } // namespace chromeos
136 136
137 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ 137 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698