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

Side by Side Diff: ui/base/ime/chromeos/input_method_manager.h

Issue 1871743003: ui: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 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 UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_
6 #define UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ 6 #define UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 enum MenuItemStyle { 49 enum MenuItemStyle {
50 MENU_ITEM_STYLE_NONE, 50 MENU_ITEM_STYLE_NONE,
51 MENU_ITEM_STYLE_CHECK, 51 MENU_ITEM_STYLE_CHECK,
52 MENU_ITEM_STYLE_RADIO, 52 MENU_ITEM_STYLE_RADIO,
53 MENU_ITEM_STYLE_SEPARATOR, 53 MENU_ITEM_STYLE_SEPARATOR,
54 }; 54 };
55 55
56 struct MenuItem { 56 struct MenuItem {
57 MenuItem(); 57 MenuItem();
58 MenuItem(const MenuItem& other);
58 virtual ~MenuItem(); 59 virtual ~MenuItem();
59 60
60 std::string id; 61 std::string id;
61 std::string label; 62 std::string label;
62 MenuItemStyle style; 63 MenuItemStyle style;
63 bool visible; 64 bool visible;
64 bool enabled; 65 bool enabled;
65 bool checked; 66 bool checked;
66 67
67 unsigned int modified; 68 unsigned int modified;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 // called to update the IME menu items. 298 // called to update the IME menu items.
298 virtual void NotifyImeMenuItemsChanged( 299 virtual void NotifyImeMenuItemsChanged(
299 const std::string& engine_id, 300 const std::string& engine_id,
300 const std::vector<MenuItem>& items) = 0; 301 const std::vector<MenuItem>& items) = 0;
301 }; 302 };
302 303
303 } // namespace input_method 304 } // namespace input_method
304 } // namespace chromeos 305 } // namespace chromeos
305 306
306 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ 307 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/input_method_descriptor.cc ('k') | ui/base/ime/chromeos/input_method_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698