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 19 matching lines...) Expand all Loading... |
30 #include "core/dom/Node.h" | 30 #include "core/dom/Node.h" |
31 #include "core/editing/VisiblePosition.h" | 31 #include "core/editing/VisiblePosition.h" |
32 #include "core/rendering/HitTestResult.h" | 32 #include "core/rendering/HitTestResult.h" |
33 #include "core/rendering/RenderObject.h" | 33 #include "core/rendering/RenderObject.h" |
34 #include "platform/weborigin/KURL.h" | 34 #include "platform/weborigin/KURL.h" |
35 #include "public/platform/WebPoint.h" | 35 #include "public/platform/WebPoint.h" |
36 #include "public/platform/WebURL.h" | 36 #include "public/platform/WebURL.h" |
37 #include "public/web/WebElement.h" | 37 #include "public/web/WebElement.h" |
38 #include "public/web/WebNode.h" | 38 #include "public/web/WebNode.h" |
39 | 39 |
40 using namespace WebCore; | 40 using namespace blink; |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class WebHitTestResultPrivate { | 44 class WebHitTestResultPrivate { |
45 public: | 45 public: |
46 WebHitTestResultPrivate(const HitTestResult&); | 46 WebHitTestResultPrivate(const HitTestResult&); |
47 WebHitTestResultPrivate(const WebHitTestResultPrivate&); | 47 WebHitTestResultPrivate(const WebHitTestResultPrivate&); |
48 | 48 |
49 RefPtrWillBePersistent<Node> innerNode; | 49 RefPtrWillBePersistent<Node> innerNode; |
50 RefPtrWillBePersistent<Element> innerURLElement; | 50 RefPtrWillBePersistent<Element> innerURLElement; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 else | 127 else |
128 m_private.reset(new WebHitTestResultPrivate(*info.m_private.get())); | 128 m_private.reset(new WebHitTestResultPrivate(*info.m_private.get())); |
129 } | 129 } |
130 | 130 |
131 void WebHitTestResult::reset() | 131 void WebHitTestResult::reset() |
132 { | 132 { |
133 m_private.reset(0); | 133 m_private.reset(0); |
134 } | 134 } |
135 | 135 |
136 } // namespace blink | 136 } // namespace blink |
OLD | NEW |