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

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

Issue 2689633002: Change the default button of Network Wifi config dialog back to 'Connect'. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/network_config_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/network_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698