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

Unified Diff: public/web/WebElement.h

Issue 455883003: Cleanup namespace usage in public/web/Web[A-M]*.h. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebDocumentType.h ('k') | public/web/WebElementCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebElement.h
diff --git a/public/web/WebElement.h b/public/web/WebElement.h
index d520871d53630948df39e04877495f1c625bc496..e1a924c247aa3fff97c7cf3f0d3579882ad2987e 100644
--- a/public/web/WebElement.h
+++ b/public/web/WebElement.h
@@ -34,11 +34,9 @@
#include "../platform/WebImage.h"
#include "WebNode.h"
-#if BLINK_IMPLEMENTATION
-namespace blink { class Element; }
-#endif
-
namespace blink {
+
+class Element;
struct WebRect;
// Provides access to some properties of a DOM element node.
@@ -85,9 +83,9 @@ struct WebRect;
BLINK_EXPORT WebImage imageContents();
#if BLINK_IMPLEMENTATION
- WebElement(const PassRefPtrWillBeRawPtr<blink::Element>&);
- WebElement& operator=(const PassRefPtrWillBeRawPtr<blink::Element>&);
- operator PassRefPtrWillBeRawPtr<blink::Element>() const;
+ WebElement(const PassRefPtrWillBeRawPtr<Element>&);
+ WebElement& operator=(const PassRefPtrWillBeRawPtr<Element>&);
+ operator PassRefPtrWillBeRawPtr<Element>() const;
#endif
};
« no previous file with comments | « public/web/WebDocumentType.h ('k') | public/web/WebElementCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698