OLD | NEW |
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_LANGUAGE_SWITCH_MENU_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LANGUAGE_SWITCH_MENU_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LANGUAGE_SWITCH_MENU_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LANGUAGE_SWITCH_MENU_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "app/menus/simple_menu_model.h" | 11 #include "app/menus/simple_menu_model.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "chrome/browser/language_combobox_model.h" | 13 #include "chrome/browser/language_combobox_model.h" |
| 14 #include "testing/gtest/include/gtest/gtest_prod.h" |
14 #include "views/controls/menu/menu_2.h" | 15 #include "views/controls/menu/menu_2.h" |
15 #include "views/controls/menu/view_menu_delegate.h" | 16 #include "views/controls/menu/view_menu_delegate.h" |
16 #include "views/view.h" | 17 #include "views/view.h" |
17 #include "testing/gtest/include/gtest/gtest_prod.h" | |
18 | 18 |
19 class WizardControllerTest_SwitchLanguage_Test; | 19 class WizardControllerTest_SwitchLanguage_Test; |
20 | 20 |
21 namespace chromeos { | 21 namespace chromeos { |
22 | 22 |
23 class ScreenObserver; | 23 class ScreenObserver; |
24 | 24 |
25 class LanguageSwitchMenu : public views::ViewMenuDelegate, | 25 class LanguageSwitchMenu : public views::ViewMenuDelegate, |
26 public menus::SimpleMenuModel::Delegate { | 26 public menus::SimpleMenuModel::Delegate { |
27 public: | 27 public: |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 int delta_x_, delta_y_; | 67 int delta_x_, delta_y_; |
68 | 68 |
69 FRIEND_TEST(::WizardControllerTest, SwitchLanguage); | 69 FRIEND_TEST(::WizardControllerTest, SwitchLanguage); |
70 DISALLOW_COPY_AND_ASSIGN(LanguageSwitchMenu); | 70 DISALLOW_COPY_AND_ASSIGN(LanguageSwitchMenu); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace chromeos | 73 } // namespace chromeos |
74 | 74 |
75 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LANGUAGE_SWITCH_MENU_H_ | 75 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LANGUAGE_SWITCH_MENU_H_ |
OLD | NEW |