| 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" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // views::DialogDelegate methods. | 56 // views::DialogDelegate methods. |
| 57 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; | 57 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; |
| 58 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 58 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 59 virtual bool Cancel() OVERRIDE; | 59 virtual bool Cancel() OVERRIDE; |
| 60 virtual bool Accept() OVERRIDE; | 60 virtual bool Accept() OVERRIDE; |
| 61 virtual views::View* GetExtraView() OVERRIDE; | 61 virtual views::View* GetExtraView() OVERRIDE; |
| 62 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 62 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 63 | 63 |
| 64 // views::WidgetDelegate methods. | 64 // views::WidgetDelegate methods. |
| 65 virtual ui::ModalType GetModalType() const OVERRIDE; | 65 virtual ui::ModalType GetModalType() const OVERRIDE; |
| 66 virtual views::View* GetContentsView() OVERRIDE; | |
| 67 | 66 |
| 68 // views::View overrides. | 67 // views::View overrides. |
| 69 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 68 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 70 | 69 |
| 71 // views::ButtonListener overrides. | 70 // views::ButtonListener overrides. |
| 72 virtual void ButtonPressed( | 71 virtual void ButtonPressed( |
| 73 views::Button* sender, const ui::Event& event) OVERRIDE; | 72 views::Button* sender, const ui::Event& event) OVERRIDE; |
| 74 | 73 |
| 75 void set_delegate(Delegate* delegate) { | 74 void set_delegate(Delegate* delegate) { |
| 76 delegate_ = delegate; | 75 delegate_ = delegate; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 views::ImageView* image_view_; | 174 views::ImageView* image_view_; |
| 176 const gfx::ImageSkia* gray_image_; | 175 const gfx::ImageSkia* gray_image_; |
| 177 const gfx::ImageSkia* color_image_; | 176 const gfx::ImageSkia* color_image_; |
| 178 | 177 |
| 179 DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView); | 178 DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView); |
| 180 }; | 179 }; |
| 181 | 180 |
| 182 } // namespace chromeos | 181 } // namespace chromeos |
| 183 | 182 |
| 184 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ | 183 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ |
| OLD | NEW |