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

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

Issue 16512003: Configure networks requiring a certificate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update error strings Created 7 years, 6 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) 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 27 matching lines...) Expand all
38 virtual void OnDialogAccepted() = 0; 38 virtual void OnDialogAccepted() = 0;
39 39
40 // Called when dialog "Cancel" button is pressed. 40 // Called when dialog "Cancel" button is pressed.
41 virtual void OnDialogCancelled() = 0; 41 virtual void OnDialogCancelled() = 0;
42 42
43 protected: 43 protected:
44 virtual ~Delegate() {} 44 virtual ~Delegate() {}
45 }; 45 };
46 46
47 // Shows a network connection dialog if none is currently visible. 47 // Shows a network connection dialog if none is currently visible.
48 // Returns false if a dialog is already visible. 48 static void Show(Network* network, gfx::NativeWindow parent);
49 static bool Show(Network* network, gfx::NativeWindow parent); 49 static void ShowForType(ConnectionType type, gfx::NativeWindow parent);
50 static bool ShowForType(ConnectionType type, gfx::NativeWindow parent);
51 50
52 // Returns corresponding native window. 51 // Returns corresponding native window.
53 gfx::NativeWindow GetNativeWindow() const; 52 gfx::NativeWindow GetNativeWindow() const;
54 53
55 // views::DialogDelegate methods. 54 // views::DialogDelegate methods.
56 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; 55 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
57 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 56 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
58 virtual bool Cancel() OVERRIDE; 57 virtual bool Cancel() OVERRIDE;
59 virtual bool Accept() OVERRIDE; 58 virtual bool Accept() OVERRIDE;
60 virtual views::View* CreateExtraView() OVERRIDE; 59 virtual views::View* CreateExtraView() OVERRIDE;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/network_login_observer.cc ('k') | chrome/browser/chromeos/options/network_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698