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 "public/web/WebDOMEvent.h" | 49 #include "public/web/WebDOMEvent.h" |
50 #include "public/web/WebDocument.h" | 50 #include "public/web/WebDocument.h" |
51 #include "public/web/WebElement.h" | 51 #include "public/web/WebElement.h" |
52 #include "public/web/WebElementCollection.h" | 52 #include "public/web/WebElementCollection.h" |
53 #include "public/web/WebNodeList.h" | 53 #include "public/web/WebNodeList.h" |
54 #include "public/web/WebPluginContainer.h" | 54 #include "public/web/WebPluginContainer.h" |
55 #include "web/FrameLoaderClientImpl.h" | 55 #include "web/FrameLoaderClientImpl.h" |
56 #include "web/WebLocalFrameImpl.h" | 56 #include "web/WebLocalFrameImpl.h" |
57 #include "web/WebPluginContainerImpl.h" | 57 #include "web/WebPluginContainerImpl.h" |
58 | 58 |
59 using namespace blink; | |
60 | |
61 namespace blink { | 59 namespace blink { |
62 | 60 |
63 void WebNode::reset() | 61 void WebNode::reset() |
64 { | 62 { |
65 m_private.reset(); | 63 m_private.reset(); |
66 } | 64 } |
67 | 65 |
68 void WebNode::assign(const WebNode& other) | 66 void WebNode::assign(const WebNode& other) |
69 { | 67 { |
70 m_private = other.m_private; | 68 m_private = other.m_private; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 m_private = node; | 257 m_private = node; |
260 return *this; | 258 return *this; |
261 } | 259 } |
262 | 260 |
263 WebNode::operator PassRefPtrWillBeRawPtr<Node>() const | 261 WebNode::operator PassRefPtrWillBeRawPtr<Node>() const |
264 { | 262 { |
265 return m_private.get(); | 263 return m_private.get(); |
266 } | 264 } |
267 | 265 |
268 } // namespace blink | 266 } // namespace blink |
OLD | NEW |