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

Side by Side Diff: Source/modules/presentation/Presentation.cpp

Issue 408663002: Add the Presentation API module and a single event target (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed my fix for the layout tests Created 6 years, 3 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 "modules/presentation/Presentation.h"
7
8 #include "modules/EventTargetModules.h"
9
10 namespace blink {
11
12 Presentation::Presentation(ExecutionContext* executionContext)
13 : ContextLifecycleObserver(executionContext)
14 {
15 }
16
17 Presentation::~Presentation()
18 {
19 }
20
21 // static
22 Presentation* Presentation::create(ExecutionContext* executionContext)
23 {
24 return new Presentation(executionContext);
25 }
26
27 const AtomicString& Presentation::interfaceName() const
28 {
29 return EventTargetNames::Presentation;
30 }
31
32 ExecutionContext* Presentation::executionContext() const
33 {
34 return ContextLifecycleObserver::executionContext();
35 }
36
37 void Presentation::trace(Visitor* visitor)
38 {
39 EventTargetWithInlineData::trace(visitor);
40 }
41
42 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/presentation/Presentation.h ('k') | Source/modules/presentation/Presentation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698