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_STATUS_INPUT_METHOD_MENU_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_H_ |
6 #define CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_H_ | 6 #define CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include <string> |
| 10 |
9 #include "app/menus/simple_menu_model.h" | 11 #include "app/menus/simple_menu_model.h" |
10 #include "chrome/browser/chromeos/cros/input_method_library.h" | 12 #include "chrome/browser/chromeos/cros/input_method_library.h" |
11 #include "chrome/browser/prefs/pref_member.h" | 13 #include "chrome/browser/prefs/pref_member.h" |
12 #include "chrome/common/notification_observer.h" | 14 #include "chrome/common/notification_observer.h" |
13 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
14 #include "chrome/common/notification_service.h" | |
15 #include "chrome/common/notification_type.h" | 16 #include "chrome/common/notification_type.h" |
16 #include "views/controls/menu/menu_2.h" | 17 #include "views/controls/menu/menu_2.h" |
17 #include "views/controls/menu/view_menu_delegate.h" | 18 #include "views/controls/menu/view_menu_delegate.h" |
18 | 19 |
19 class PrefService; | 20 class PrefService; |
20 class SkBitmap; | 21 class SkBitmap; |
21 | 22 |
22 namespace chromeos { | 23 namespace chromeos { |
23 | 24 |
24 // A class for the dropdown menu for switching input method and keyboard layout. | 25 // A class for the dropdown menu for switching input method and keyboard layout. |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 const bool is_browser_mode_; | 167 const bool is_browser_mode_; |
167 const bool is_screen_locker_mode_; | 168 const bool is_screen_locker_mode_; |
168 const bool is_out_of_box_experience_mode_; | 169 const bool is_out_of_box_experience_mode_; |
169 | 170 |
170 DISALLOW_COPY_AND_ASSIGN(InputMethodMenu); | 171 DISALLOW_COPY_AND_ASSIGN(InputMethodMenu); |
171 }; | 172 }; |
172 | 173 |
173 } // namespace chromeos | 174 } // namespace chromeos |
174 | 175 |
175 #endif // CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_H_ | 176 #endif // CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_H_ |
OLD | NEW |