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

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

Issue 1222623003: Presentation API: implement .getAvalability() (Blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests Created 5 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 2015 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/AvailableChangeEvent.h"
7
8 namespace blink {
9
10 AvailableChangeEvent::~AvailableChangeEvent()
11 {
12 }
13
14 AvailableChangeEvent::AvailableChangeEvent()
15 : m_available(false)
16 {
17 }
18
19 AvailableChangeEvent::AvailableChangeEvent(const AtomicString& eventType, bool a vailable)
20 : Event(eventType, false, false)
21 , m_available(available)
22 {
23 }
24
25 AvailableChangeEvent::AvailableChangeEvent(const AtomicString& eventType, const AvailableChangeEventInit& initializer)
26 : Event(eventType, initializer)
27 , m_available(initializer.available())
28 {
29 }
30
31 const AtomicString& AvailableChangeEvent::interfaceName() const
32 {
33 return EventNames::AvailableChangeEvent;
34 }
35
36 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/presentation/AvailableChangeEvent.h ('k') | Source/modules/presentation/AvailableChangeEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698