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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2581063002: Add IdleSpellCheckCallback to LocalFrame (Closed)
Patch Set: Fri Dec 16 12:24:18 JST 2016 Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 759bc27278264e8e7bfed81eab7b2539a463d47f..5c4e213bc4fbd19e9d482f3f8f6bbf100a032153 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -40,6 +40,7 @@
#include "core/editing/FrameSelection.h"
#include "core/editing/InputMethodController.h"
#include "core/editing/serializers/Serialization.h"
+#include "core/editing/spellcheck/IdleSpellCheckCallback.h"
#include "core/editing/spellcheck/SpellChecker.h"
#include "core/events/Event.h"
#include "core/fetch/ResourceFetcher.h"
@@ -345,6 +346,7 @@ DEFINE_TRACE(LocalFrame) {
visitor->trace(m_eventHandler);
visitor->trace(m_console);
visitor->trace(m_inputMethodController);
+ visitor->trace(m_idleSpellCheckCallback);
Frame::trace(visitor);
Supplementable<LocalFrame>::trace(visitor);
}
@@ -885,6 +887,7 @@ inline LocalFrame::LocalFrame(FrameLoaderClient* client,
m_eventHandler(new EventHandler(*this)),
m_console(FrameConsole::create(*this)),
m_inputMethodController(InputMethodController::create(*this)),
+ m_idleSpellCheckCallback(IdleSpellCheckCallback::create(*this)),
m_navigationDisableCount(0),
m_pageZoomFactor(parentPageZoomFactor(this)),
m_textZoomFactor(parentTextZoomFactor(this)),
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698