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 27 matching lines...) Expand all Loading... |
38 #include "WebViewClient.h" | 38 #include "WebViewClient.h" |
39 #include "WebViewImpl.h" | 39 #include "WebViewImpl.h" |
40 #include "core/dom/DocumentMarker.h" | 40 #include "core/dom/DocumentMarker.h" |
41 #include "core/dom/DocumentMarkerController.h" | 41 #include "core/dom/DocumentMarkerController.h" |
42 #include "core/dom/Range.h" | 42 #include "core/dom/Range.h" |
43 #include "core/dom/shadow/ShadowRoot.h" | 43 #include "core/dom/shadow/ShadowRoot.h" |
44 #include "core/editing/Editor.h" | 44 #include "core/editing/Editor.h" |
45 #include "core/editing/TextIterator.h" | 45 #include "core/editing/TextIterator.h" |
46 #include "core/editing/VisibleSelection.h" | 46 #include "core/editing/VisibleSelection.h" |
47 #include "core/frame/FrameView.h" | 47 #include "core/frame/FrameView.h" |
48 #include "core/rendering/ScrollBehavior.h" | 48 #include "core/rendering/ScrollAlignment.h" |
49 #include "platform/Timer.h" | 49 #include "platform/Timer.h" |
50 #include "public/platform/WebVector.h" | 50 #include "public/platform/WebVector.h" |
51 #include "wtf/CurrentTime.h" | 51 #include "wtf/CurrentTime.h" |
52 | 52 |
53 using namespace WebCore; | 53 using namespace WebCore; |
54 | 54 |
55 namespace blink { | 55 namespace blink { |
56 | 56 |
57 TextFinder::FindMatch::FindMatch(PassRefPtr<Range> range, int ordinal) | 57 TextFinder::FindMatch::FindMatch(PassRefPtr<Range> range, int ordinal) |
58 : m_range(range) | 58 : m_range(range) |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 if (!m_framesScopingCount) | 753 if (!m_framesScopingCount) |
754 m_ownerFrame.increaseMatchCount(0, identifier); | 754 m_ownerFrame.increaseMatchCount(0, identifier); |
755 } | 755 } |
756 | 756 |
757 int TextFinder::ordinalOfFirstMatch() const | 757 int TextFinder::ordinalOfFirstMatch() const |
758 { | 758 { |
759 return ordinalOfFirstMatchForFrame(&m_ownerFrame); | 759 return ordinalOfFirstMatchForFrame(&m_ownerFrame); |
760 } | 760 } |
761 | 761 |
762 } // namespace blink | 762 } // namespace blink |
OLD | NEW |