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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/events/RelatedEvent.cpp b/third_party/WebKit/Source/core/events/RelatedEvent.cpp
deleted file mode 100644
index 9a433d3031c5fd9822ca5afca6e2c2754ad9931b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/events/RelatedEvent.cpp
+++ /dev/null
@@ -1,41 +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.
-
-#include "core/events/RelatedEvent.h"
-
-namespace blink {
-
-RelatedEvent::~RelatedEvent() {}
-
-RelatedEvent* RelatedEvent::Create(const AtomicString& type,
- bool can_bubble,
- bool cancelable,
- EventTarget* related_target) {
- return new RelatedEvent(type, can_bubble, cancelable, related_target);
-}
-
-RelatedEvent* RelatedEvent::Create(const AtomicString& type,
- const RelatedEventInit& initializer) {
- return new RelatedEvent(type, initializer);
-}
-
-RelatedEvent::RelatedEvent(const AtomicString& type,
- bool can_bubble,
- bool cancelable,
- EventTarget* related_target)
- : Event(type, can_bubble, cancelable), related_target_(related_target) {}
-
-RelatedEvent::RelatedEvent(const AtomicString& event_type,
- const RelatedEventInit& initializer)
- : Event(event_type, initializer) {
- if (initializer.hasRelatedTarget())
- related_target_ = initializer.relatedTarget();
-}
-
-DEFINE_TRACE(RelatedEvent) {
- visitor->Trace(related_target_);
- Event::Trace(visitor);
-}
-
-} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/events/RelatedEvent.h ('k') | third_party/WebKit/Source/core/events/RelatedEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698