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

Side by Side Diff: content/common/text_input_state.h

Issue 1867153002: content: 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 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 CONTENT_COMMON_TEXT_INPUT_STATE_H_ 5 #ifndef CONTENT_COMMON_TEXT_INPUT_STATE_H_
6 #define CONTENT_COMMON_TEXT_INPUT_STATE_H_ 6 #define CONTENT_COMMON_TEXT_INPUT_STATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "ui/base/ime/text_input_mode.h" 11 #include "ui/base/ime/text_input_mode.h"
12 #include "ui/base/ime/text_input_type.h" 12 #include "ui/base/ime/text_input_type.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 struct CONTENT_EXPORT TextInputState { 16 struct CONTENT_EXPORT TextInputState {
17 TextInputState(); 17 TextInputState();
18 TextInputState(const TextInputState& other);
18 19
19 // Type of the input field. 20 // Type of the input field.
20 ui::TextInputType type; 21 ui::TextInputType type;
21 22
22 // The mode of input field. 23 // The mode of input field.
23 ui::TextInputMode mode; 24 ui::TextInputMode mode;
24 25
25 // The flags of input field (autocorrect, autocomplete, etc.) 26 // The flags of input field (autocorrect, autocomplete, etc.)
26 int flags; 27 int flags;
27 28
(...skipping 23 matching lines...) Expand all
51 bool show_ime_if_needed; 52 bool show_ime_if_needed;
52 53
53 // Whether this change is originated from non-IME (e.g., Javascript, 54 // Whether this change is originated from non-IME (e.g., Javascript,
54 // Autofill). 55 // Autofill).
55 bool is_non_ime_change; 56 bool is_non_ime_change;
56 }; 57 };
57 58
58 } // namespace content 59 } // namespace content
59 60
60 #endif // CONTENT_COMMON_TEXT_INPUT_STATE_H_ 61 #endif // CONTENT_COMMON_TEXT_INPUT_STATE_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/vt_video_decode_accelerator_mac.cc ('k') | content/common/text_input_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698