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

Unified Diff: Source/core/editing/FindOptions.h

Issue 1213213004: Introduce use counters for shadow DOM handling in plainText() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-07-03T14:40:27 Rebase Created 5 years, 6 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/editing/Editor.cpp ('k') | Source/core/editing/iterators/CharacterIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/FindOptions.h
diff --git a/Source/core/editing/FindOptions.h b/Source/core/editing/FindOptions.h
index 0fa69dc045507f6296e61582800fe389c5bed3dd..38897faa49ab30fbc8342f122025a2efc8a45517 100644
--- a/Source/core/editing/FindOptions.h
+++ b/Source/core/editing/FindOptions.h
@@ -37,7 +37,10 @@ enum FindOptionFlag {
Backwards = 1 << 3,
WrapAround = 1 << 4,
StartInSelection = 1 << 5,
- WholeWord = 1 << 6 // WholeWord should imply AtWordStarts
+ WholeWord = 1 << 6, // WholeWord should imply AtWordStarts
+ // TODO(yosin) Once find UI works on composed tree and it doesn't use
+ // |rangeOfString()|, we should get rid of |FindAPICall| enum member.
+ FindAPICall = 1 << 7, // Used for Window.find or execCommand('find')
};
typedef unsigned FindOptions;
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/iterators/CharacterIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698