| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_LIST_VIEW_H_ | 5 #ifndef ASH_SYSTEM_IME_MENU_IME_LIST_VIEW_H_ |
| 6 #define ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_LIST_VIEW_H_ | 6 #define ASH_SYSTEM_IME_MENU_IME_LIST_VIEW_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/system/tray/ime_info.h" | 9 #include "ash/system/tray/ime_info.h" |
| 10 #include "ash/common/system/tray/tray_details_view.h" | 10 #include "ash/system/tray/tray_details_view.h" |
| 11 #include "ui/views/controls/button/button.h" | 11 #include "ui/views/controls/button/button.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 class MaterialKeyboardStatusRowView; | 14 class MaterialKeyboardStatusRowView; |
| 15 | 15 |
| 16 // The detailed view for showing IME list. | 16 // The detailed view for showing IME list. |
| 17 class ImeListView : public TrayDetailsView { | 17 class ImeListView : public TrayDetailsView { |
| 18 public: | 18 public: |
| 19 enum SingleImeBehavior { | 19 enum SingleImeBehavior { |
| 20 // Shows the IME menu if there's only one IME in system. | 20 // Shows the IME menu if there's only one IME in system. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 } | 125 } |
| 126 | 126 |
| 127 private: | 127 private: |
| 128 ImeListView* ime_list_view_; | 128 ImeListView* ime_list_view_; |
| 129 | 129 |
| 130 DISALLOW_COPY_AND_ASSIGN(ImeListViewTestApi); | 130 DISALLOW_COPY_AND_ASSIGN(ImeListViewTestApi); |
| 131 }; | 131 }; |
| 132 | 132 |
| 133 } // namespace ash | 133 } // namespace ash |
| 134 | 134 |
| 135 #endif // ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_LIST_VIEW_H_ | 135 #endif // ASH_SYSTEM_IME_MENU_IME_LIST_VIEW_H_ |
| OLD | NEW |