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

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

Issue 21024004: Add/remove spell checking markers in text inputs depending on focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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
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 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
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

Powered by Google App Engine
This is Rietveld 408576698