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

Unified Diff: Source/core/dom/Node.h

Issue 21694005: Spell check whole content of an editable element when it gets focused. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style & spurious comment removal. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/editing/Editor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index f442a593044ca9e53e0bb0a5be131327210effeb..f8cde165010bb3705f0a662c66226c1663490acd 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -713,6 +713,9 @@ public:
PassRefPtr<NodeList> getDestinationInsertionPoints();
+ void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFlag); }
+ bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
+
private:
enum NodeFlags {
IsTextFlag = 1,
@@ -754,6 +757,7 @@ private:
CustomElementWaitingForUpgradeOrIsUpgraded = 1 << 28,
ChildNeedsDistributionRecalc = 1 << 29,
+ AlreadySpellCheckedFlag = 1 << 30,
DefaultNodeFlags = IsParsingChildrenFinishedFlag
};
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/editing/Editor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698