OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "core/html/HTMLElement.h" | 36 #include "core/html/HTMLElement.h" |
37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
39 #include "wtf/text/AtomicString.h" | 39 #include "wtf/text/AtomicString.h" |
40 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class ExecutionContext; | 44 class ExecutionContext; |
45 class InputMethodController; | 45 class InputMethodController; |
46 class Node; | |
47 | 46 |
48 class InputMethodContext FINAL : public NoBaseWillBeGarbageCollectedFinalized<In
putMethodContext>, public EventTargetWithInlineData { | 47 class InputMethodContext FINAL : public NoBaseWillBeGarbageCollectedFinalized<In
putMethodContext>, public EventTargetWithInlineData { |
49 DEFINE_WRAPPERTYPEINFO(); | 48 DEFINE_WRAPPERTYPEINFO(); |
50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InputMethodContext); | 49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InputMethodContext); |
51 public: | 50 public: |
52 static PassOwnPtrWillBeRawPtr<InputMethodContext> create(HTMLElement*); | 51 static PassOwnPtrWillBeRawPtr<InputMethodContext> create(HTMLElement*); |
53 virtual ~InputMethodContext(); | 52 virtual ~InputMethodContext(); |
54 | 53 |
55 #if !ENABLE(OILPAN) | 54 #if !ENABLE(OILPAN) |
56 void ref() { m_element->ref(); } | 55 void ref() { m_element->ref(); } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void derefEventTarget() OVERRIDE { deref(); } | 91 virtual void derefEventTarget() OVERRIDE { deref(); } |
93 #endif | 92 #endif |
94 | 93 |
95 RawPtrWillBeMember<HTMLElement> m_element; | 94 RawPtrWillBeMember<HTMLElement> m_element; |
96 Vector<unsigned> m_segments; | 95 Vector<unsigned> m_segments; |
97 }; | 96 }; |
98 | 97 |
99 } // namespace blink | 98 } // namespace blink |
100 | 99 |
101 #endif // InputMethodContext_h | 100 #endif // InputMethodContext_h |
OLD | NEW |