| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_NETWORK_CONFIG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "chrome/browser/chromeos/cros/network_library.h" | 12 #include "chrome/browser/chromeos/cros/network_library.h" |
| 13 #include "chrome/browser/chromeos/cros/network_ui_data.h" | |
| 14 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow | 13 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow |
| 15 #include "ui/views/controls/button/button.h" // views::ButtonListener | 14 #include "ui/views/controls/button/button.h" // views::ButtonListener |
| 16 #include "ui/views/window/dialog_delegate.h" | 15 #include "ui/views/window/dialog_delegate.h" |
| 17 | 16 |
| 18 namespace gfx { | 17 namespace gfx { |
| 19 class ImageSkia; | 18 class ImageSkia; |
| 20 } | 19 } |
| 21 | 20 |
| 22 namespace views { | 21 namespace views { |
| 23 class ImageView; | 22 class ImageView; |
| 24 class LabelButton; | 23 class LabelButton; |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace chromeos { | 26 namespace chromeos { |
| 28 | 27 |
| 29 class ChildNetworkConfigView; | 28 class ChildNetworkConfigView; |
| 29 class NetworkPropertyUIData; |
| 30 | 30 |
| 31 // A dialog box for showing a password textfield. | 31 // A dialog box for showing a password textfield. |
| 32 class NetworkConfigView : public views::DialogDelegateView, | 32 class NetworkConfigView : public views::DialogDelegateView, |
| 33 public views::ButtonListener { | 33 public views::ButtonListener { |
| 34 public: | 34 public: |
| 35 class Delegate { | 35 class Delegate { |
| 36 public: | 36 public: |
| 37 // Called when dialog "OK" button is pressed. | 37 // Called when dialog "OK" button is pressed. |
| 38 virtual void OnDialogAccepted() = 0; | 38 virtual void OnDialogAccepted() = 0; |
| 39 | 39 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 views::ImageView* image_view_; | 172 views::ImageView* image_view_; |
| 173 const gfx::ImageSkia* gray_image_; | 173 const gfx::ImageSkia* gray_image_; |
| 174 const gfx::ImageSkia* color_image_; | 174 const gfx::ImageSkia* color_image_; |
| 175 | 175 |
| 176 DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView); | 176 DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView); |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 } // namespace chromeos | 179 } // namespace chromeos |
| 180 | 180 |
| 181 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ | 181 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ |
| OLD | NEW |