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

Side by Side Diff: chrome/browser/chromeos/login/network_screen_delegate.h

Issue 3166028: Replace network combobox with network dropdown button (Closed)
Patch Set: Removed trailing spaces Created 10 years, 3 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_LOGIN_NETWORK_SCREEN_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_DELEGATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/combobox_model.h" 9 #include "app/combobox_model.h"
10 #include "chrome/browser/chromeos/cros/network_library.h" 10 #include "chrome/browser/chromeos/cros/network_library.h"
11 #include "views/controls/button/button.h" 11 #include "views/controls/button/button.h"
12 #include "views/controls/combobox/combobox.h" 12 #include "views/controls/combobox/combobox.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 class LanguageSwitchMenu; 16 class LanguageSwitchMenu;
17 17
18 // Interface that NetworkScreen exposes to the NetworkSelectionView. 18 // Interface that NetworkScreen exposes to the NetworkSelectionView.
19 class NetworkScreenDelegate : public ComboboxModel, 19 class NetworkScreenDelegate : public views::ButtonListener,
20 public views::Combobox::Listener,
21 public views::ButtonListener,
22 public NetworkLibrary::Observer { 20 public NetworkLibrary::Observer {
23 public: 21 public:
24 virtual LanguageSwitchMenu* language_switch_menu() = 0; 22 virtual LanguageSwitchMenu* language_switch_menu() = 0;
25 23
26 protected: 24 protected:
27 virtual ~NetworkScreenDelegate() {} 25 virtual ~NetworkScreenDelegate() {}
28 }; 26 };
29 27
30 } // namespace chromeos 28 } // namespace chromeos
31 29
32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_DELEGATE_H_ 30 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SCREEN_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/network_screen_browsertest.cc ('k') | chrome/browser/chromeos/login/network_selection_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698