| 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 21 matching lines...) Expand all Loading... |
| 32 #include "platform/text/TextChecking.h" | 32 #include "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/RefPtr.h" | 35 #include "wtf/RefPtr.h" |
| 36 #include "wtf/Vector.h" | 36 #include "wtf/Vector.h" |
| 37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class LocalFrame; | 41 class LocalFrame; |
| 42 class Node; | |
| 43 class SpellCheckRequester; | 42 class SpellCheckRequester; |
| 44 class TextCheckerClient; | 43 class TextCheckerClient; |
| 45 | 44 |
| 46 class SpellCheckRequest FINAL : public TextCheckingRequest { | 45 class SpellCheckRequest FINAL : public TextCheckingRequest { |
| 47 public: | 46 public: |
| 48 static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextChecki
ngProcessType, PassRefPtrWillBeRawPtr<Range> checkingRange, PassRefPtrWillBeRawP
tr<Range> paragraphRange, int requestNumber = 0); | 47 static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextChecki
ngProcessType, PassRefPtrWillBeRawPtr<Range> checkingRange, PassRefPtrWillBeRawP
tr<Range> paragraphRange, int requestNumber = 0); |
| 49 virtual ~SpellCheckRequest(); | 48 virtual ~SpellCheckRequest(); |
| 50 | 49 |
| 51 PassRefPtrWillBeRawPtr<Range> checkingRange() const { return m_checkingRange
; } | 50 PassRefPtrWillBeRawPtr<Range> checkingRange() const { return m_checkingRange
; } |
| 52 PassRefPtrWillBeRawPtr<Range> paragraphRange() const { return m_paragraphRan
ge; } | 51 PassRefPtrWillBeRawPtr<Range> paragraphRange() const { return m_paragraphRan
ge; } |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 113 |
| 115 Timer<SpellCheckRequester> m_timerToProcessQueuedRequest; | 114 Timer<SpellCheckRequester> m_timerToProcessQueuedRequest; |
| 116 | 115 |
| 117 RefPtr<SpellCheckRequest> m_processingRequest; | 116 RefPtr<SpellCheckRequest> m_processingRequest; |
| 118 RequestQueue m_requestQueue; | 117 RequestQueue m_requestQueue; |
| 119 }; | 118 }; |
| 120 | 119 |
| 121 } // namespace blink | 120 } // namespace blink |
| 122 | 121 |
| 123 #endif // SpellCheckRequester_h | 122 #endif // SpellCheckRequester_h |
| OLD | NEW |