Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebDOMEvent.h
index 2ee4932..d10bded 100644 (file)
 #include "../platform/WebString.h"
 #include "WebNode.h"
 
-namespace WebCore { 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<WebCore::Event>&);
-    operator PassRefPtrWillBeRawPtr<WebCore::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<WebCore::Event>&);
+    void assign(const PassRefPtrWillBeRawPtr<Event>&);
 
     template<typename T> T* unwrap()
     {
@@ -125,7 +126,7 @@ protected:
     }
 #endif
 
-    WebPrivatePtr<WebCore::Event> m_private;
+    WebPrivatePtr<Event> m_private;
 };
 
 } // namespace blink