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

Unified Diff: public/web/WebDOMEvent.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/WebDOMError.h ('k') | public/web/WebDOMFileSystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDOMEvent.h
diff --git a/public/web/WebDOMEvent.h b/public/web/WebDOMEvent.h
index 78d9ba363578949dfdbec11044f9823133901c8d..d10bded21c92e01277b84460347901677a47246a 100644
--- a/public/web/WebDOMEvent.h
+++ b/public/web/WebDOMEvent.h
@@ -36,13 +36,14 @@
#include "../platform/WebString.h"
#include "WebNode.h"
-namespace blink { class Event; }
#if BLINK_IMPLEMENTATION
namespace WTF { template <typename T> class PassRefPtr; }
#endif
namespace blink {
+class Event;
+
class WebDOMEvent {
public:
enum PhaseType {
@@ -92,8 +93,8 @@ public:
BLINK_EXPORT bool isXMLHttpRequestProgressEvent() const;
#if BLINK_IMPLEMENTATION
- WebDOMEvent(const PassRefPtrWillBeRawPtr<blink::Event>&);
- operator PassRefPtrWillBeRawPtr<blink::Event>() const;
+ WebDOMEvent(const PassRefPtrWillBeRawPtr<Event>&);
+ operator PassRefPtrWillBeRawPtr<Event>() const;
#endif
template<typename T> T to()
@@ -112,7 +113,7 @@ public:
protected:
#if BLINK_IMPLEMENTATION
- void assign(const PassRefPtrWillBeRawPtr<blink::Event>&);
+ void assign(const PassRefPtrWillBeRawPtr<Event>&);
template<typename T> T* unwrap()
{
@@ -125,7 +126,7 @@ protected:
}
#endif
- WebPrivatePtr<blink::Event> m_private;
+ WebPrivatePtr<Event> m_private;
};
} // namespace blink
« no previous file with comments | « public/web/WebDOMError.h ('k') | public/web/WebDOMFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698