Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 #ifndef Presentation_h | |
| 6 #define Presentation_h | |
| 7 | |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "core/dom/ContextLifecycleObserver.h" | |
| 10 #include "core/events/EventTarget.h" | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 class Presentation FINAL | |
| 15 : public GarbageCollectedFinalized<Presentation> | |
| 16 , public EventTargetWithInlineData | |
| 17 , ContextLifecycleObserver { | |
| 18 DEFINE_EVENT_TARGET_REFCOUNTING(EventTargetWithInlineData); | |
|
Mads Ager (chromium)
2014/08/20 07:27:36
Looking at this again, this doesn't look right. Yo
whywhat
2014/08/20 16:40:42
Done.
| |
| 19 public: | |
| 20 static Presentation* create(ExecutionContext*); | |
| 21 virtual ~Presentation(); | |
| 22 | |
| 23 // EventTarget implementation. | |
| 24 virtual const WTF::AtomicString& interfaceName() const OVERRIDE; | |
|
eseidel
2014/08/19 18:20:58
No WTF is needed.
whywhat
2014/08/20 16:40:42
Done.
| |
| 25 virtual ExecutionContext* executionContext() const OVERRIDE; | |
| 26 | |
| 27 virtual void trace(Visitor*) OVERRIDE; | |
| 28 | |
| 29 bool displayAvailable() const; | |
| 30 | |
| 31 DEFINE_ATTRIBUTE_EVENT_LISTENER(availablechange); | |
| 32 | |
| 33 private: | |
| 34 explicit Presentation(ExecutionContext*); | |
| 35 }; | |
| 36 | |
| 37 } // namespace blink | |
| 38 | |
| 39 #endif // Presentation_h | |
| OLD | NEW |