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

Unified Diff: third_party/WebKit/public/web/WebDOMEvent.h

Issue 1402023002: Remove most of WebDOMEvent and delete WebDOMMouseEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/WebDOMMouseEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebDOMEvent.h
diff --git a/third_party/WebKit/public/web/WebDOMEvent.h b/third_party/WebKit/public/web/WebDOMEvent.h
index 6d07505db263b7f09393aea31393997d0e395fa1..0853b5d00846ce369fc900a806b68c57a97153ad 100644
--- a/third_party/WebKit/public/web/WebDOMEvent.h
+++ b/third_party/WebKit/public/web/WebDOMEvent.h
@@ -33,12 +33,6 @@
#include "../platform/WebCommon.h"
#include "../platform/WebPrivatePtr.h"
-#include "../platform/WebString.h"
-#include "WebNode.h"
-
-#if BLINK_IMPLEMENTATION
-namespace WTF { template <typename T> class PassRefPtr; }
-#endif
namespace blink {
@@ -46,12 +40,6 @@ class Event;
class WebDOMEvent {
public:
- enum PhaseType {
- CapturingPhase = 1,
- AtTarget = 2,
- BubblingPhase = 3
- };
-
~WebDOMEvent() { reset(); }
WebDOMEvent() { }
@@ -67,30 +55,6 @@ public:
bool isNull() const { return m_private.isNull(); }
- BLINK_EXPORT WebString type() const;
- BLINK_EXPORT WebNode target() const;
- BLINK_EXPORT WebNode currentTarget() const;
-
- BLINK_EXPORT PhaseType eventPhase() const;
- BLINK_EXPORT bool bubbles() const;
- BLINK_EXPORT bool cancelable() const;
-
- BLINK_EXPORT bool isUIEvent() const;
- BLINK_EXPORT bool isMouseEvent() const;
- BLINK_EXPORT bool isMutationEvent() const;
- BLINK_EXPORT bool isKeyboardEvent() const;
- BLINK_EXPORT bool isTextEvent() const;
- BLINK_EXPORT bool isCompositionEvent() const;
- BLINK_EXPORT bool isDragEvent() const;
- BLINK_EXPORT bool isClipboardEvent() const;
- BLINK_EXPORT bool isMessageEvent() const;
- BLINK_EXPORT bool isWheelEvent() const;
- BLINK_EXPORT bool isBeforeTextInsertedEvent() const;
- BLINK_EXPORT bool isPageTransitionEvent() const;
- BLINK_EXPORT bool isPopStateEvent() const;
- BLINK_EXPORT bool isProgressEvent() const;
- BLINK_EXPORT bool isXMLHttpRequestProgressEvent() const;
-
#if BLINK_IMPLEMENTATION
WebDOMEvent(const PassRefPtrWillBeRawPtr<Event>&);
operator PassRefPtrWillBeRawPtr<Event>() const;
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/WebDOMMouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698