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

Unified Diff: third_party/WebKit/Source/core/events/RelatedEvent.h

Issue 2905763003: Rollback ContextMenu (Closed)
Patch Set: Rebase Created 3 years, 7 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
Index: third_party/WebKit/Source/core/events/RelatedEvent.h
diff --git a/third_party/WebKit/Source/core/events/RelatedEvent.h b/third_party/WebKit/Source/core/events/RelatedEvent.h
deleted file mode 100644
index 86420faa4ad6c2a826a382fb8560c5775d2843da..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/events/RelatedEvent.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef RelatedEvent_h
-#define RelatedEvent_h
-
-#include "core/events/Event.h"
-#include "core/events/RelatedEventInit.h"
-
-namespace blink {
-
-class RelatedEvent final : public Event {
- DEFINE_WRAPPERTYPEINFO();
-
- public:
- static RelatedEvent* Create(const AtomicString& type,
- bool can_bubble,
- bool cancelable,
- EventTarget* related_target);
- static RelatedEvent* Create(const AtomicString& event_type,
- const RelatedEventInit&);
-
- ~RelatedEvent() override;
-
- EventTarget* relatedTarget() const { return related_target_.Get(); }
-
- const AtomicString& InterfaceName() const override {
- return EventNames::RelatedEvent;
- }
- bool IsRelatedEvent() const override { return true; }
-
- DECLARE_VIRTUAL_TRACE();
-
- private:
- RelatedEvent(const AtomicString& type,
- bool can_bubble,
- bool cancelable,
- EventTarget*);
- RelatedEvent(const AtomicString& type, const RelatedEventInit&);
-
- Member<EventTarget> related_target_;
-};
-
-DEFINE_EVENT_TYPE_CASTS(RelatedEvent);
-
-} // namespace blink
-
-#endif // RelatedEvent_h
« no previous file with comments | « third_party/WebKit/Source/core/events/BUILD.gn ('k') | third_party/WebKit/Source/core/events/RelatedEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698