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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 #include "core/dom/Range.h" | 33 #include "core/dom/Range.h" |
34 #include "core/dom/TaskRunnerHelper.h" | 34 #include "core/dom/TaskRunnerHelper.h" |
35 #include "core/dom/shadow/ShadowRoot.h" | 35 #include "core/dom/shadow/ShadowRoot.h" |
36 #include "core/editing/Editor.h" | 36 #include "core/editing/Editor.h" |
37 #include "core/editing/FindInPageCoordinates.h" | 37 #include "core/editing/FindInPageCoordinates.h" |
38 #include "core/editing/VisibleSelection.h" | 38 #include "core/editing/VisibleSelection.h" |
39 #include "core/editing/iterators/SearchBuffer.h" | 39 #include "core/editing/iterators/SearchBuffer.h" |
40 #include "core/editing/markers/DocumentMarker.h" | 40 #include "core/editing/markers/DocumentMarker.h" |
41 #include "core/editing/markers/DocumentMarkerController.h" | 41 #include "core/editing/markers/DocumentMarkerController.h" |
| 42 #include "core/exported/WebViewBase.h" |
42 #include "core/frame/FrameView.h" | 43 #include "core/frame/FrameView.h" |
43 #include "core/layout/LayoutObject.h" | 44 #include "core/layout/LayoutObject.h" |
44 #include "core/layout/TextAutosizer.h" | 45 #include "core/layout/TextAutosizer.h" |
45 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
46 #include "modules/accessibility/AXObject.h" | 47 #include "modules/accessibility/AXObject.h" |
47 #include "modules/accessibility/AXObjectCacheImpl.h" | 48 #include "modules/accessibility/AXObjectCacheImpl.h" |
48 #include "platform/RuntimeEnabledFeatures.h" | 49 #include "platform/RuntimeEnabledFeatures.h" |
49 #include "platform/Timer.h" | 50 #include "platform/Timer.h" |
50 #include "platform/wtf/CurrentTime.h" | 51 #include "platform/wtf/CurrentTime.h" |
51 #include "public/platform/WebVector.h" | 52 #include "public/platform/WebVector.h" |
52 #include "public/web/WebAXObject.h" | 53 #include "public/web/WebAXObject.h" |
53 #include "public/web/WebFindOptions.h" | 54 #include "public/web/WebFindOptions.h" |
54 #include "public/web/WebFrameClient.h" | 55 #include "public/web/WebFrameClient.h" |
55 #include "public/web/WebViewClient.h" | 56 #include "public/web/WebViewClient.h" |
56 #include "web/WebLocalFrameImpl.h" | 57 #include "web/WebLocalFrameImpl.h" |
57 #include "web/WebViewImpl.h" | |
58 | 58 |
59 namespace blink { | 59 namespace blink { |
60 | 60 |
61 TextFinder::FindMatch::FindMatch(Range* range, int ordinal) | 61 TextFinder::FindMatch::FindMatch(Range* range, int ordinal) |
62 : range_(range), ordinal_(ordinal) {} | 62 : range_(range), ordinal_(ordinal) {} |
63 | 63 |
64 DEFINE_TRACE(TextFinder::FindMatch) { | 64 DEFINE_TRACE(TextFinder::FindMatch) { |
65 visitor->Trace(range_); | 65 visitor->Trace(range_); |
66 } | 66 } |
67 | 67 |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 | 789 |
790 DEFINE_TRACE(TextFinder) { | 790 DEFINE_TRACE(TextFinder) { |
791 visitor->Trace(owner_frame_); | 791 visitor->Trace(owner_frame_); |
792 visitor->Trace(active_match_); | 792 visitor->Trace(active_match_); |
793 visitor->Trace(resume_scoping_from_range_); | 793 visitor->Trace(resume_scoping_from_range_); |
794 visitor->Trace(deferred_scoping_work_); | 794 visitor->Trace(deferred_scoping_work_); |
795 visitor->Trace(find_matches_cache_); | 795 visitor->Trace(find_matches_cache_); |
796 } | 796 } |
797 | 797 |
798 } // namespace blink | 798 } // namespace blink |
OLD | NEW |