OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "public/platform/WebTextInputInfo.h" | 37 #include "public/platform/WebTextInputInfo.h" |
38 #include "public/platform/WebTextInputType.h" | 38 #include "public/platform/WebTextInputType.h" |
39 #include "wtf/Vector.h" | 39 #include "wtf/Vector.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class Editor; | 43 class Editor; |
44 class LocalFrame; | 44 class LocalFrame; |
45 class Range; | 45 class Range; |
46 class Text; | |
47 | 46 |
48 class CORE_EXPORT InputMethodController final | 47 class CORE_EXPORT InputMethodController final |
49 : public GarbageCollectedFinalized<InputMethodController>, | 48 : public GarbageCollectedFinalized<InputMethodController>, |
50 public SynchronousMutationObserver { | 49 public SynchronousMutationObserver { |
51 WTF_MAKE_NONCOPYABLE(InputMethodController); | 50 WTF_MAKE_NONCOPYABLE(InputMethodController); |
52 USING_GARBAGE_COLLECTED_MIXIN(InputMethodController); | 51 USING_GARBAGE_COLLECTED_MIXIN(InputMethodController); |
53 | 52 |
54 public: | 53 public: |
55 enum ConfirmCompositionBehavior { | 54 enum ConfirmCompositionBehavior { |
56 DoNotKeepSelection, | 55 DoNotKeepSelection, |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 int textInputFlags() const; | 149 int textInputFlags() const; |
151 WebTextInputMode inputModeOfFocusedElement() const; | 150 WebTextInputMode inputModeOfFocusedElement() const; |
152 | 151 |
153 // Implements |SynchronousMutationObserver|. | 152 // Implements |SynchronousMutationObserver|. |
154 void contextDestroyed() final; | 153 void contextDestroyed() final; |
155 }; | 154 }; |
156 | 155 |
157 } // namespace blink | 156 } // namespace blink |
158 | 157 |
159 #endif // InputMethodController_h | 158 #endif // InputMethodController_h |
OLD | NEW |