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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "core/dom/NodeList.h" | 49 #include "core/dom/NodeList.h" |
50 #include "core/editing/markup.h" | 50 #include "core/editing/markup.h" |
51 #include "core/rendering/RenderObject.h" | 51 #include "core/rendering/RenderObject.h" |
52 #include "core/rendering/RenderWidget.h" | 52 #include "core/rendering/RenderWidget.h" |
53 #include "platform/Widget.h" | 53 #include "platform/Widget.h" |
54 #include "public/platform/WebString.h" | 54 #include "public/platform/WebString.h" |
55 #include "public/platform/WebVector.h" | 55 #include "public/platform/WebVector.h" |
56 | 56 |
57 using namespace WebCore; | 57 using namespace WebCore; |
58 | 58 |
59 namespace WebKit { | 59 namespace blink { |
60 | 60 |
61 void WebNode::reset() | 61 void WebNode::reset() |
62 { | 62 { |
63 m_private.reset(); | 63 m_private.reset(); |
64 } | 64 } |
65 | 65 |
66 void WebNode::assign(const WebNode& other) | 66 void WebNode::assign(const WebNode& other) |
67 { | 67 { |
68 m_private = other.m_private; | 68 m_private = other.m_private; |
69 } | 69 } |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 { | 259 { |
260 m_private = node; | 260 m_private = node; |
261 return *this; | 261 return *this; |
262 } | 262 } |
263 | 263 |
264 WebNode::operator PassRefPtr<Node>() const | 264 WebNode::operator PassRefPtr<Node>() const |
265 { | 265 { |
266 return m_private.get(); | 266 return m_private.get(); |
267 } | 267 } |
268 | 268 |
269 } // namespace WebKit | 269 } // namespace blink |
OLD | NEW |