Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: Source/core/editing/SpellChecker.h

Issue 16190007: Avoid underlining misspellings when typing inside a word (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clear the queue, too Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/WebKit/chromium/tests/WebFrameTest.cpp ('k') | Source/core/editing/SpellChecker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
76 public: 76 public:
77 friend class SpellCheckRequest; 77 friend class SpellCheckRequest;
78 78
79 explicit SpellChecker(Frame*); 79 explicit SpellChecker(Frame*);
80 ~SpellChecker(); 80 ~SpellChecker();
81 81
82 bool isAsynchronousEnabled() const; 82 bool isAsynchronousEnabled() const;
83 bool isCheckable(Range*) const; 83 bool isCheckable(Range*) const;
84 84
85 void requestCheckingFor(PassRefPtr<SpellCheckRequest>); 85 void requestCheckingFor(PassRefPtr<SpellCheckRequest>);
86 void cancelCheck();
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
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
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/tests/WebFrameTest.cpp ('k') | Source/core/editing/SpellChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698