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 Permissions_h |
| 6 #define Permissions_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "platform/heap/Handle.h" |
| 11 |
| 12 namespace WTF { |
| 13 class AtomicString; |
| 14 } // namespace WTF |
| 15 |
| 16 namespace blink { |
| 17 |
| 18 class ScriptState; |
| 19 |
| 20 class Permissions final |
| 21 : public GarbageCollectedFinalized<Permissions> |
| 22 , public ScriptWrappable { |
| 23 DEFINE_WRAPPERTYPEINFO(); |
| 24 public: |
| 25 virtual ~Permissions(); |
| 26 |
| 27 virtual void trace(Visitor*); |
| 28 |
| 29 static ScriptPromise query(ScriptState*, const AtomicString&); |
| 30 }; |
| 31 |
| 32 } // namespace blink |
| 33 |
| 34 #endif // Permissions_h |
OLD | NEW |