Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(958)

Side by Side Diff: Source/web/WebNode.cpp

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/WebNetworkStateNotifier.cpp ('k') | Source/web/WebNodeList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/WebNetworkStateNotifier.cpp ('k') | Source/web/WebNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698