OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef TextFinder_h | 31 #ifndef TextFinder_h |
32 #define TextFinder_h | 32 #define TextFinder_h |
33 | 33 |
34 #include "core/editing/FindOptions.h" | 34 #include "core/editing/FindOptions.h" |
35 #include "platform/geometry/FloatRect.h" | 35 #include "platform/geometry/FloatRect.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
| 37 #include "platform/wtf/Noncopyable.h" |
| 38 #include "platform/wtf/PassRefPtr.h" |
| 39 #include "platform/wtf/Vector.h" |
| 40 #include "platform/wtf/text/WTFString.h" |
37 #include "public/platform/WebFloatPoint.h" | 41 #include "public/platform/WebFloatPoint.h" |
38 #include "public/platform/WebFloatRect.h" | 42 #include "public/platform/WebFloatRect.h" |
39 #include "public/platform/WebRect.h" | 43 #include "public/platform/WebRect.h" |
40 #include "public/web/WebFindOptions.h" | 44 #include "public/web/WebFindOptions.h" |
41 #include "web/WebExport.h" | 45 #include "web/WebExport.h" |
42 #include "wtf/Noncopyable.h" | |
43 #include "wtf/PassRefPtr.h" | |
44 #include "wtf/Vector.h" | |
45 #include "wtf/text/WTFString.h" | |
46 | 46 |
47 namespace blink { | 47 namespace blink { |
48 | 48 |
49 class Range; | 49 class Range; |
50 class WebLocalFrameImpl; | 50 class WebLocalFrameImpl; |
51 | 51 |
52 template <typename T> | 52 template <typename T> |
53 class WebVector; | 53 class WebVector; |
54 | 54 |
55 class WEB_EXPORT TextFinder final | 55 class WEB_EXPORT TextFinder final |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 // Determines if the rects in the find-in-page matches cache of this frame | 284 // Determines if the rects in the find-in-page matches cache of this frame |
285 // are invalid and should be recomputed. | 285 // are invalid and should be recomputed. |
286 bool m_findMatchRectsAreValid; | 286 bool m_findMatchRectsAreValid; |
287 }; | 287 }; |
288 | 288 |
289 } // namespace blink | 289 } // namespace blink |
290 | 290 |
291 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TextFinder::FindMatch); | 291 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::TextFinder::FindMatch); |
292 | 292 |
293 #endif // TextFinder_h | 293 #endif // TextFinder_h |
OLD | NEW |