Chromium Code Reviews| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 76 friend class SpellCheckRequest; | 76 friend class SpellCheckRequest; |
| 77 | 77 |
| 78 explicit SpellChecker(Frame*); | 78 explicit SpellChecker(Frame*); |
| 79 ~SpellChecker(); | 79 ~SpellChecker(); |
| 80 | 80 |
| 81 bool isAsynchronousEnabled() const; | 81 bool isAsynchronousEnabled() const; |
| 82 bool isCheckable(Range*) const; | 82 bool isCheckable(Range*) const; |
| 83 | 83 |
| 84 void requestCheckingFor(PassRefPtr<SpellCheckRequest>); | 84 void requestCheckingFor(PassRefPtr<SpellCheckRequest>); |
| 85 void cancelCheck(); | 85 void cancelCheck(); |
| 86 void cancelProcessingRequest(); | |
|
please use gerrit instead
2013/07/30 21:32:00
Can you reuse cancelCheck() instead? The implement
pstanek
2013/07/30 21:50:39
This is something layout tests showed me as in the
| |
| 86 | 87 |
| 87 int lastRequestSequence() const | 88 int lastRequestSequence() const |
| 88 { | 89 { |
| 89 return m_lastRequestSequence; | 90 return m_lastRequestSequence; |
| 90 } | 91 } |
| 91 | 92 |
| 92 int lastProcessedSequence() const | 93 int lastProcessedSequence() const |
| 93 { | 94 { |
| 94 return m_lastProcessedSequence; | 95 return m_lastProcessedSequence; |
| 95 } | 96 } |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 112 | 113 |
| 113 Timer<SpellChecker> m_timerToProcessQueuedRequest; | 114 Timer<SpellChecker> m_timerToProcessQueuedRequest; |
| 114 | 115 |
| 115 RefPtr<SpellCheckRequest> m_processingRequest; | 116 RefPtr<SpellCheckRequest> m_processingRequest; |
| 116 RequestQueue m_requestQueue; | 117 RequestQueue m_requestQueue; |
| 117 }; | 118 }; |
| 118 | 119 |
| 119 } // namespace WebCore | 120 } // namespace WebCore |
| 120 | 121 |
| 121 #endif // SpellChecker_h | 122 #endif // SpellChecker_h |
| OLD | NEW |