| 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 25 matching lines...) Expand all Loading... |
| 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 WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 class Frame; | 41 class Frame; |
| 42 class Node; | 42 class Node; |
| 43 class SpellCheckRequester; | 43 class SpellCheckRequester; |
| 44 class TextCheckerClient; | 44 class TextCheckerClient; |
| 45 | 45 |
| 46 class SpellCheckRequest : public TextCheckingRequest { | 46 class SpellCheckRequest FINAL : public TextCheckingRequest { |
| 47 public: | 47 public: |
| 48 static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextChecki
ngProcessType, PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange
, int requestNumber = 0); | 48 static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextChecki
ngProcessType, PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange
, int requestNumber = 0); |
| 49 virtual ~SpellCheckRequest(); | 49 virtual ~SpellCheckRequest(); |
| 50 | 50 |
| 51 PassRefPtr<Range> checkingRange() const { return m_checkingRange; } | 51 PassRefPtr<Range> checkingRange() const { return m_checkingRange; } |
| 52 PassRefPtr<Range> paragraphRange() const { return m_paragraphRange; } | 52 PassRefPtr<Range> paragraphRange() const { return m_paragraphRange; } |
| 53 PassRefPtr<Element> rootEditableElement() const { return m_rootEditableEleme
nt; } | 53 PassRefPtr<Element> rootEditableElement() const { return m_rootEditableEleme
nt; } |
| 54 | 54 |
| 55 void setCheckerAndSequence(SpellCheckRequester*, int sequence); | 55 void setCheckerAndSequence(SpellCheckRequester*, int sequence); |
| 56 void requesterDestroyed(); | 56 void requesterDestroyed(); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 115 |
| 116 Timer<SpellCheckRequester> m_timerToProcessQueuedRequest; | 116 Timer<SpellCheckRequester> m_timerToProcessQueuedRequest; |
| 117 | 117 |
| 118 RefPtr<SpellCheckRequest> m_processingRequest; | 118 RefPtr<SpellCheckRequest> m_processingRequest; |
| 119 RequestQueue m_requestQueue; | 119 RequestQueue m_requestQueue; |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace WebCore | 122 } // namespace WebCore |
| 123 | 123 |
| 124 #endif // SpellCheckRequester_h | 124 #endif // SpellCheckRequester_h |
| OLD | NEW |