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

Unified Diff: public/web/WebNode.h

Issue 401973003: Rename WebCore namespace to blink in Public (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebMediaDevicesRequest.h ('k') | public/web/WebNodeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebNode.h
diff --git a/public/web/WebNode.h b/public/web/WebNode.h
index 35b42e8e5f8550971d0d425d7f7ee508ad57eb3c..f449867d0a98e34ae0aa4a08ffc7f7af73b9586f 100644
--- a/public/web/WebNode.h
+++ b/public/web/WebNode.h
@@ -36,7 +36,7 @@
#include "../platform/WebString.h"
#include "WebExceptionCode.h"
-namespace WebCore { class Node; }
+namespace blink { class Node; }
namespace blink {
class WebDOMEvent;
@@ -51,7 +51,7 @@ class WebPluginContainer;
// Provides access to some properties of a DOM node.
// Note that the class design requires that neither this class nor any of its subclasses have any virtual
// methods (other than the destructor), so that it is possible to safely static_cast an instance of one
-// class to the appropriate subclass based on the actual type of the wrapped WebCore::Node. For the same
+// class to the appropriate subclass based on the actual type of the wrapped blink::Node. For the same
// reason, subclasses must not add any additional data members.
class WebNode {
public:
@@ -142,9 +142,9 @@ public:
}
#if BLINK_IMPLEMENTATION
- WebNode(const PassRefPtrWillBeRawPtr<WebCore::Node>&);
- WebNode& operator=(const PassRefPtrWillBeRawPtr<WebCore::Node>&);
- operator PassRefPtrWillBeRawPtr<WebCore::Node>() const;
+ WebNode(const PassRefPtrWillBeRawPtr<blink::Node>&);
+ WebNode& operator=(const PassRefPtrWillBeRawPtr<blink::Node>&);
+ operator PassRefPtrWillBeRawPtr<blink::Node>() const;
#endif
#if BLINK_IMPLEMENTATION
@@ -160,7 +160,7 @@ public:
#endif
protected:
- WebPrivatePtr<WebCore::Node> m_private;
+ WebPrivatePtr<blink::Node> m_private;
};
inline bool operator==(const WebNode& a, const WebNode& b)
« no previous file with comments | « public/web/WebMediaDevicesRequest.h ('k') | public/web/WebNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698