OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 | 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 12 matching lines...) Expand all Loading... |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef SpellChecker_h | 26 #ifndef SpellChecker_h |
27 #define SpellChecker_h | 27 #define SpellChecker_h |
28 | 28 |
29 #include "core/dom/Element.h" | 29 #include "core/dom/Element.h" |
30 #include "core/dom/Range.h" | 30 #include "core/dom/Range.h" |
31 #include "core/platform/Timer.h" | 31 #include "core/platform/Timer.h" |
32 #include "core/platform/text/TextChecking.h" | 32 #include "core/platform/text/TextChecking.h" |
33 #include <wtf/Deque.h> | 33 #include "wtf/Deque.h" |
34 #include <wtf/Noncopyable.h> | 34 #include "wtf/Noncopyable.h" |
35 #include <wtf/RefCounted.h> | 35 #include "wtf/RefPtr.h" |
36 #include <wtf/RefPtr.h> | 36 #include "wtf/Vector.h" |
37 #include <wtf/text/WTFString.h> | 37 #include "wtf/text/WTFString.h" |
38 #include <wtf/Vector.h> | |
39 | 38 |
40 namespace WebCore { | 39 namespace WebCore { |
41 | 40 |
42 class Frame; | 41 class Frame; |
43 class Node; | 42 class Node; |
44 class TextCheckerClient; | 43 class TextCheckerClient; |
45 class SpellChecker; | 44 class SpellChecker; |
46 | 45 |
47 class SpellCheckRequest : public TextCheckingRequest { | 46 class SpellCheckRequest : public TextCheckingRequest { |
48 public: | 47 public: |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 112 |
114 Timer<SpellChecker> m_timerToProcessQueuedRequest; | 113 Timer<SpellChecker> m_timerToProcessQueuedRequest; |
115 | 114 |
116 RefPtr<SpellCheckRequest> m_processingRequest; | 115 RefPtr<SpellCheckRequest> m_processingRequest; |
117 RequestQueue m_requestQueue; | 116 RequestQueue m_requestQueue; |
118 }; | 117 }; |
119 | 118 |
120 } // namespace WebCore | 119 } // namespace WebCore |
121 | 120 |
122 #endif // SpellChecker_h | 121 #endif // SpellChecker_h |
OLD | NEW |