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 28 matching lines...) Expand all Loading... |
39 #include "core/editing/markers/DocumentMarker.h" | 39 #include "core/editing/markers/DocumentMarker.h" |
40 #include "core/editing/markers/DocumentMarkerController.h" | 40 #include "core/editing/markers/DocumentMarkerController.h" |
41 #include "core/frame/FrameView.h" | 41 #include "core/frame/FrameView.h" |
42 #include "core/layout/LayoutObject.h" | 42 #include "core/layout/LayoutObject.h" |
43 #include "core/layout/TextAutosizer.h" | 43 #include "core/layout/TextAutosizer.h" |
44 #include "core/page/Page.h" | 44 #include "core/page/Page.h" |
45 #include "modules/accessibility/AXObject.h" | 45 #include "modules/accessibility/AXObject.h" |
46 #include "modules/accessibility/AXObjectCacheImpl.h" | 46 #include "modules/accessibility/AXObjectCacheImpl.h" |
47 #include "platform/RuntimeEnabledFeatures.h" | 47 #include "platform/RuntimeEnabledFeatures.h" |
48 #include "platform/Timer.h" | 48 #include "platform/Timer.h" |
| 49 #include "platform/wtf/CurrentTime.h" |
49 #include "public/platform/WebVector.h" | 50 #include "public/platform/WebVector.h" |
50 #include "public/web/WebAXObject.h" | 51 #include "public/web/WebAXObject.h" |
51 #include "public/web/WebFindOptions.h" | 52 #include "public/web/WebFindOptions.h" |
52 #include "public/web/WebFrameClient.h" | 53 #include "public/web/WebFrameClient.h" |
53 #include "public/web/WebViewClient.h" | 54 #include "public/web/WebViewClient.h" |
54 #include "web/FindInPageCoordinates.h" | 55 #include "web/FindInPageCoordinates.h" |
55 #include "web/WebLocalFrameImpl.h" | 56 #include "web/WebLocalFrameImpl.h" |
56 #include "web/WebViewImpl.h" | 57 #include "web/WebViewImpl.h" |
57 #include "wtf/CurrentTime.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 : m_range(range), m_ordinal(ordinal) {} | 62 : m_range(range), m_ordinal(ordinal) {} |
63 | 63 |
64 DEFINE_TRACE(TextFinder::FindMatch) { | 64 DEFINE_TRACE(TextFinder::FindMatch) { |
65 visitor->trace(m_range); | 65 visitor->trace(m_range); |
66 } | 66 } |
67 | 67 |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 | 781 |
782 DEFINE_TRACE(TextFinder) { | 782 DEFINE_TRACE(TextFinder) { |
783 visitor->trace(m_ownerFrame); | 783 visitor->trace(m_ownerFrame); |
784 visitor->trace(m_activeMatch); | 784 visitor->trace(m_activeMatch); |
785 visitor->trace(m_resumeScopingFromRange); | 785 visitor->trace(m_resumeScopingFromRange); |
786 visitor->trace(m_deferredScopingWork); | 786 visitor->trace(m_deferredScopingWork); |
787 visitor->trace(m_findMatchesCache); | 787 visitor->trace(m_findMatchesCache); |
788 } | 788 } |
789 | 789 |
790 } // namespace blink | 790 } // namespace blink |
OLD | NEW |