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

Side by Side Diff: Source/core/events/RelatedEvent.cpp

Issue 243403006: Implement contextmenu attribute with basic support of <menu> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased global-constructors-listing-expected.txt Created 6 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "config.h"
6 #include "core/events/RelatedEvent.h"
7
8 namespace WebCore {
Inactive 2014/07/23 14:19:07 s/WebCore/blink
pals 2014/07/24 10:49:25 Done.
9
10 RelatedEventInit::RelatedEventInit()
11 {
12 }
13
14 RelatedEvent::~RelatedEvent()
15 {
16 }
17
18 PassRefPtr<RelatedEvent> RelatedEvent::create(const AtomicString& type)
Inactive 2014/07/23 14:19:07 Use oilpan types in the cpp as well
pals 2014/07/24 10:49:25 Done.
19 {
20 return adoptRef(new RelatedEvent(type));
21 }
22
23 PassRefPtr<RelatedEvent> RelatedEvent::create(const AtomicString& type, const Re latedEventInit& initializer)
24 {
25 return adoptRef(new RelatedEvent(type, initializer));
26 }
27
28 RelatedEvent::RelatedEvent()
29 {
30 ScriptWrappable::init(this);
31 }
32
33 RelatedEvent::RelatedEvent(const AtomicString& eventType)
34 : Event(eventType, true, true)
35 {
36 ScriptWrappable::init(this);
37 }
38
39 RelatedEvent::RelatedEvent(const AtomicString& eventType, const RelatedEventInit & initializer)
40 : Event(eventType, initializer)
41 {
42 ScriptWrappable::init(this);
43 }
44
45 } // namespace WebCore
Inactive 2014/07/23 14:19:07 blink
pals 2014/07/24 10:49:25 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698