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

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

Issue 2714113003: Move ownership of IdleSpellCheckCallback from LocalFrame to SpellChecker (Closed)
Patch Set: Fri Feb 24 11:06:25 PST 2017 Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index ed6da8795400797d8cab46609bd0bba30e52a1d9..da489be69d7225e125b14e155c80f18b26159259 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -58,7 +58,6 @@ class FloatSize;
class FrameConsole;
class FrameSelection;
class FrameView;
-class IdleSpellCheckCallback;
class InputMethodController;
class InstrumentingAgents;
class InterfaceProvider;
@@ -146,7 +145,6 @@ class CORE_EXPORT LocalFrame final : public Frame,
ScriptController& script() const;
SpellChecker& spellChecker() const;
FrameConsole& console() const;
- IdleSpellCheckCallback& idleSpellCheckCallback() const;
// This method is used to get the highest level LocalFrame in this
// frame's in-process subtree.
@@ -262,7 +260,6 @@ class CORE_EXPORT LocalFrame final : public Frame,
const Member<EventHandler> m_eventHandler;
const Member<FrameConsole> m_console;
const Member<InputMethodController> m_inputMethodController;
- const Member<IdleSpellCheckCallback> m_idleSpellCheckCallback;
int m_navigationDisableCount;
@@ -332,11 +329,6 @@ inline EventHandler& LocalFrame::eventHandler() const {
return *m_eventHandler;
}
-inline IdleSpellCheckCallback& LocalFrame::idleSpellCheckCallback() const {
- DCHECK(m_idleSpellCheckCallback);
- return *m_idleSpellCheckCallback;
-}
-
DEFINE_TYPE_CASTS(LocalFrame,
Frame,
localFrame,

Powered by Google App Engine
This is Rietveld 408576698