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

Side by Side Diff: chrome/browser/ui/input_method/input_method_engine_base.h

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « cc/trees/property_tree.cc ('k') | chrome/browser/ui/input_method/input_method_engine_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ 5 #ifndef CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_
6 #define CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ 6 #define CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 class IMEEngineHandlerInterface; 21 class IMEEngineHandlerInterface;
22 class KeyEvent; 22 class KeyEvent;
23 } // namespace ui 23 } // namespace ui
24 24
25 namespace input_method { 25 namespace input_method {
26 26
27 class InputMethodEngineBase : virtual public ui::IMEEngineHandlerInterface { 27 class InputMethodEngineBase : virtual public ui::IMEEngineHandlerInterface {
28 public: 28 public:
29 struct KeyboardEvent { 29 struct KeyboardEvent {
30 KeyboardEvent(); 30 KeyboardEvent();
31 KeyboardEvent(const KeyboardEvent& other);
31 virtual ~KeyboardEvent(); 32 virtual ~KeyboardEvent();
32 33
33 std::string type; 34 std::string type;
34 std::string key; 35 std::string key;
35 std::string code; 36 std::string code;
36 int key_code; // only used by on-screen keyboards. 37 int key_code; // only used by on-screen keyboards.
37 std::string extension_id; 38 std::string extension_id;
38 bool alt_key; 39 bool alt_key;
39 bool ctrl_key; 40 bool ctrl_key;
40 bool shift_key; 41 bool shift_key;
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 std::string text_; 232 std::string text_;
232 233
233 // Indicates whether the IME extension is currently handling a physical key 234 // Indicates whether the IME extension is currently handling a physical key
234 // event. This is used in CommitText/UpdateCompositionText/etc. 235 // event. This is used in CommitText/UpdateCompositionText/etc.
235 bool handling_key_event_; 236 bool handling_key_event_;
236 }; 237 };
237 238
238 } // namespace input_method 239 } // namespace input_method
239 240
240 #endif // CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_ 241 #endif // CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_BASE_H_
OLDNEW
« no previous file with comments | « cc/trees/property_tree.cc ('k') | chrome/browser/ui/input_method/input_method_engine_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698