| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // Returns corresponding native window. | 55 // Returns corresponding native window. |
| 56 gfx::NativeWindow GetNativeWindow() const; | 56 gfx::NativeWindow GetNativeWindow() const; |
| 57 | 57 |
| 58 // views::DialogDelegate methods. | 58 // views::DialogDelegate methods. |
| 59 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 59 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| 60 bool IsDialogButtonEnabled(ui::DialogButton button) const override; | 60 bool IsDialogButtonEnabled(ui::DialogButton button) const override; |
| 61 bool Cancel() override; | 61 bool Cancel() override; |
| 62 bool Accept() override; | 62 bool Accept() override; |
| 63 views::View* CreateExtraView() override; | 63 views::View* CreateExtraView() override; |
| 64 views::View* GetInitiallyFocusedView() override; | 64 views::View* GetInitiallyFocusedView() override; |
| 65 int GetDefaultDialogButton() const override; | |
| 66 | 65 |
| 67 // views::WidgetDelegate methods. | 66 // views::WidgetDelegate methods. |
| 68 base::string16 GetWindowTitle() const override; | 67 base::string16 GetWindowTitle() const override; |
| 69 ui::ModalType GetModalType() const override; | 68 ui::ModalType GetModalType() const override; |
| 70 | 69 |
| 71 // views::View overrides. | 70 // views::View overrides. |
| 72 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; | 71 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 73 | 72 |
| 74 // views::ButtonListener overrides. | 73 // views::ButtonListener overrides. |
| 75 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 74 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 private: | 175 private: |
| 177 bool managed_; | 176 bool managed_; |
| 178 views::ImageView* image_view_; | 177 views::ImageView* image_view_; |
| 179 | 178 |
| 180 DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView); | 179 DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView); |
| 181 }; | 180 }; |
| 182 | 181 |
| 183 } // namespace chromeos | 182 } // namespace chromeos |
| 184 | 183 |
| 185 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ | 184 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ |
| OLD | NEW |