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

Side by Side Diff: third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.h

Issue 2720193002: Implement hot mode invocation for idle time spell checker (Closed)
Patch Set: style fix Created 3 years, 9 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef HotModeSpellCheckRequester_h
6 #define HotModeSpellCheckRequester_h
7
8 #include "core/editing/Position.h"
9
10 namespace blink {
11
12 class SpellCheckRequester;
13
14 // This class is only supposed to be used by IdleSpellCheckCallback in hot mode
15 // invocation. Not to be confused with SpellCheckRequester.
16 class HotModeSpellCheckRequester {
17 STACK_ALLOCATED();
18
19 public:
20 explicit HotModeSpellCheckRequester(SpellCheckRequester&);
21 void checkSpellingAt(const Position&);
22
23 private:
24 HeapVector<Member<const Element>> m_processedRootEditables;
25 Member<SpellCheckRequester> m_requester;
26
27 DISALLOW_COPY_AND_ASSIGN(HotModeSpellCheckRequester);
28 };
29
30 } // namespace blink
31
32 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698