OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #include "public/web/WebHitTestResult.h" | 26 #include "public/web/WebHitTestResult.h" |
27 | 27 |
28 #include "core/dom/Element.h" | 28 #include "core/dom/Element.h" |
29 #include "core/dom/Node.h" | 29 #include "core/dom/Node.h" |
30 #include "core/editing/VisiblePosition.h" | 30 #include "core/editing/VisiblePosition.h" |
31 #include "core/layout/HitTestResult.h" | 31 #include "core/layout/HitTestResult.h" |
32 #include "core/layout/LayoutObject.h" | |
33 #include "platform/weborigin/KURL.h" | 32 #include "platform/weborigin/KURL.h" |
34 #include "public/platform/WebPoint.h" | 33 #include "public/platform/WebPoint.h" |
35 #include "public/platform/WebURL.h" | 34 #include "public/platform/WebURL.h" |
36 #include "public/web/WebElement.h" | 35 #include "public/web/WebElement.h" |
37 #include "public/web/WebNode.h" | 36 #include "public/web/WebNode.h" |
38 | 37 |
39 namespace blink { | 38 namespace blink { |
40 | 39 |
41 class WebHitTestResultPrivate : public GarbageCollectedFinalized<WebHitTestResul
tPrivate> { | 40 class WebHitTestResultPrivate : public GarbageCollectedFinalized<WebHitTestResul
tPrivate> { |
42 public: | 41 public: |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 else | 124 else |
126 m_private = WebHitTestResultPrivate::create(*info.m_private.get()); | 125 m_private = WebHitTestResultPrivate::create(*info.m_private.get()); |
127 } | 126 } |
128 | 127 |
129 void WebHitTestResult::reset() | 128 void WebHitTestResult::reset() |
130 { | 129 { |
131 m_private.reset(); | 130 m_private.reset(); |
132 } | 131 } |
133 | 132 |
134 } // namespace blink | 133 } // namespace blink |
OLD | NEW |