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

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

Issue 2701983002: Implement complete lifecycle transition for IdleSpellCheckCallback (Closed)
Patch Set: Add lifecycle transition unit tests 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 96b5aa027f6453197df86589220b550554af5461..623432a2161daeea834d30806c7e833ced7f1510 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -147,6 +147,9 @@ class CORE_EXPORT LocalFrame final : public Frame,
FrameConsole& console() const;
IdleSpellCheckCallback& idleSpellCheckCallback() const;
+ // Requests spelling and grammar to be checked when the renderer is idle.
+ void setNeedsSpellChecking();
+
// This method is used to get the highest level LocalFrame in this
// frame's in-process subtree.
// FIXME: This is a temporary hack to support RemoteFrames, and callers

Powered by Google App Engine
This is Rietveld 408576698