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

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

Issue 7477008: Remove explicit keyword from multi-argument constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/cros/network_library.h" 9 #include "chrome/browser/chromeos/cros/network_library.h"
10 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow 10 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 views::NativeTextButton* advanced_button_; 95 views::NativeTextButton* advanced_button_;
96 views::View* advanced_button_container_; 96 views::View* advanced_button_container_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(NetworkConfigView); 98 DISALLOW_COPY_AND_ASSIGN(NetworkConfigView);
99 }; 99 };
100 100
101 // Children of NetworkConfigView must subclass this and implement the virtual 101 // Children of NetworkConfigView must subclass this and implement the virtual
102 // methods, which are called by NetworkConfigView. 102 // methods, which are called by NetworkConfigView.
103 class ChildNetworkConfigView : public views::View { 103 class ChildNetworkConfigView : public views::View {
104 public: 104 public:
105 explicit ChildNetworkConfigView(NetworkConfigView* parent, Network* network) 105 ChildNetworkConfigView(NetworkConfigView* parent, Network* network)
106 : service_path_(network->service_path()), 106 : service_path_(network->service_path()),
107 parent_(parent) {} 107 parent_(parent) {}
108 explicit ChildNetworkConfigView(NetworkConfigView* parent) 108 explicit ChildNetworkConfigView(NetworkConfigView* parent)
109 : parent_(parent) {} 109 : parent_(parent) {}
110 virtual ~ChildNetworkConfigView() {} 110 virtual ~ChildNetworkConfigView() {}
111 111
112 // Called to get title for parent NetworkConfigView dialog box. 112 // Called to get title for parent NetworkConfigView dialog box.
113 virtual string16 GetTitle() = 0; 113 virtual string16 GetTitle() = 0;
114 114
115 // Called to determine if "Connect" button should be enabled. 115 // Called to determine if "Connect" button should be enabled.
(...skipping 17 matching lines...) Expand all
133 std::string service_path_; 133 std::string service_path_;
134 NetworkConfigView* parent_; 134 NetworkConfigView* parent_;
135 135
136 private: 136 private:
137 DISALLOW_COPY_AND_ASSIGN(ChildNetworkConfigView); 137 DISALLOW_COPY_AND_ASSIGN(ChildNetworkConfigView);
138 }; 138 };
139 139
140 } // namespace chromeos 140 } // namespace chromeos
141 141
142 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_ 142 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONFIG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/rounded_rect_painter.cc ('k') | chrome/browser/chromeos/setting_level_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698