| 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 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef SpellCheckRequester_h | 26 #ifndef SpellCheckRequester_h |
| 27 #define SpellCheckRequester_h | 27 #define SpellCheckRequester_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/editing/EphemeralRange.h" | 31 #include "core/editing/EphemeralRange.h" |
| 32 #include "platform/Timer.h" | 32 #include "platform/Timer.h" |
| 33 #include "platform/text/TextChecking.h" | 33 #include "platform/text/TextChecking.h" |
| 34 #include "wtf/Deque.h" | 34 #include "platform/wtf/Deque.h" |
| 35 #include "wtf/Noncopyable.h" | 35 #include "platform/wtf/Noncopyable.h" |
| 36 #include "wtf/RefPtr.h" | 36 #include "platform/wtf/RefPtr.h" |
| 37 #include "wtf/Vector.h" | 37 #include "platform/wtf/Vector.h" |
| 38 #include "wtf/text/WTFString.h" | 38 #include "platform/wtf/text/WTFString.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class LocalFrame; | 42 class LocalFrame; |
| 43 class SpellCheckRequester; | 43 class SpellCheckRequester; |
| 44 class TextCheckerClient; | 44 class TextCheckerClient; |
| 45 | 45 |
| 46 // TODO(xiaochengh): Move this class to dedicated files. | 46 // TODO(xiaochengh): Move this class to dedicated files. |
| 47 class SpellCheckRequest final : public TextCheckingRequest { | 47 class SpellCheckRequest final : public TextCheckingRequest { |
| 48 public: | 48 public: |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 Member<SpellCheckRequest> processing_request_; | 129 Member<SpellCheckRequest> processing_request_; |
| 130 | 130 |
| 131 typedef HeapDeque<Member<SpellCheckRequest>> RequestQueue; | 131 typedef HeapDeque<Member<SpellCheckRequest>> RequestQueue; |
| 132 RequestQueue request_queue_; | 132 RequestQueue request_queue_; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace blink | 135 } // namespace blink |
| 136 | 136 |
| 137 #endif // SpellCheckRequester_h | 137 #endif // SpellCheckRequester_h |
| OLD | NEW |