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

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

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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
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_WIMAX_CONFIG_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 19 matching lines...) Expand all
30 public views::TextfieldController, 30 public views::TextfieldController,
31 public views::ButtonListener { 31 public views::ButtonListener {
32 public: 32 public:
33 // Configuration dialog for a WiMax network. If |service_path| is not empty 33 // Configuration dialog for a WiMax network. If |service_path| is not empty
34 // it identifies the network to be configured. 34 // it identifies the network to be configured.
35 WimaxConfigView(NetworkConfigView* parent, const std::string& service_path); 35 WimaxConfigView(NetworkConfigView* parent, const std::string& service_path);
36 virtual ~WimaxConfigView(); 36 virtual ~WimaxConfigView();
37 37
38 // views::TextfieldController: 38 // views::TextfieldController:
39 virtual void ContentsChanged(views::Textfield* sender, 39 virtual void ContentsChanged(views::Textfield* sender,
40 const base::string16& new_contents) OVERRIDE; 40 const base::string16& new_contents) override;
41 virtual bool HandleKeyEvent(views::Textfield* sender, 41 virtual bool HandleKeyEvent(views::Textfield* sender,
42 const ui::KeyEvent& key_event) OVERRIDE; 42 const ui::KeyEvent& key_event) override;
43 43
44 // views::ButtonListener: 44 // views::ButtonListener:
45 virtual void ButtonPressed(views::Button* sender, 45 virtual void ButtonPressed(views::Button* sender,
46 const ui::Event& event) OVERRIDE; 46 const ui::Event& event) override;
47 47
48 // ChildNetworkConfigView: 48 // ChildNetworkConfigView:
49 virtual base::string16 GetTitle() const OVERRIDE; 49 virtual base::string16 GetTitle() const override;
50 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 50 virtual views::View* GetInitiallyFocusedView() override;
51 virtual bool CanLogin() OVERRIDE; 51 virtual bool CanLogin() override;
52 virtual bool Login() OVERRIDE; 52 virtual bool Login() override;
53 virtual void Cancel() OVERRIDE; 53 virtual void Cancel() override;
54 virtual void InitFocus() OVERRIDE; 54 virtual void InitFocus() override;
55 55
56 private: 56 private:
57 // Initializes UI. 57 // Initializes UI.
58 void Init(); 58 void Init();
59 59
60 // Callback to initialize fields from uncached network properties. 60 // Callback to initialize fields from uncached network properties.
61 void InitFromProperties(const std::string& service_path, 61 void InitFromProperties(const std::string& service_path,
62 const base::DictionaryValue& dictionary); 62 const base::DictionaryValue& dictionary);
63 63
64 // Get input values. 64 // Get input values.
(...skipping 23 matching lines...) Expand all
88 views::Label* error_label_; 88 views::Label* error_label_;
89 89
90 base::WeakPtrFactory<WimaxConfigView> weak_ptr_factory_; 90 base::WeakPtrFactory<WimaxConfigView> weak_ptr_factory_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(WimaxConfigView); 92 DISALLOW_COPY_AND_ASSIGN(WimaxConfigView);
93 }; 93 };
94 94
95 } // namespace chromeos 95 } // namespace chromeos
96 96
97 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ 97 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698