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

Side by Side 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, 5 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 30
31 enum FindOptionFlag { 31 enum FindOptionFlag {
32 CaseInsensitive = 1 << 0, 32 CaseInsensitive = 1 << 0,
33 AtWordStarts = 1 << 1, 33 AtWordStarts = 1 << 1,
34 // When combined with AtWordStarts, accepts a match in the middle of a word if the match begins with 34 // When combined with AtWordStarts, accepts a match in the middle of a word if the match begins with
35 // an uppercase letter followed by a lowercase or non-letter. Accepts severa l other intra-word matches. 35 // an uppercase letter followed by a lowercase or non-letter. Accepts severa l other intra-word matches.
36 TreatMedialCapitalAsWordStart = 1 << 2, 36 TreatMedialCapitalAsWordStart = 1 << 2,
37 Backwards = 1 << 3, 37 Backwards = 1 << 3,
38 WrapAround = 1 << 4, 38 WrapAround = 1 << 4,
39 StartInSelection = 1 << 5, 39 StartInSelection = 1 << 5,
40 WholeWord = 1 << 6 // WholeWord should imply AtWordStarts 40 WholeWord = 1 << 6, // WholeWord should imply AtWordStarts
41 // TODO(yosin) Once find UI works on composed tree and it doesn't use
42 // |rangeOfString()|, we should get rid of |FindAPICall| enum member.
43 FindAPICall = 1 << 7, // Used for Window.find or execCommand('find')
41 }; 44 };
42 45
43 typedef unsigned FindOptions; 46 typedef unsigned FindOptions;
44 47
45 } // namespace blink 48 } // namespace blink
46 49
47 #endif // FindOptions_h 50 #endif // FindOptions_h
OLDNEW
« 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