OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 HTMLIFrameElementPayments_h |
| 6 #define HTMLIFrameElementPayments_h |
| 7 |
| 8 #include "platform/Supplementable.h" |
| 9 #include "platform/heap/Handle.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class HTMLIFrameElement; |
| 14 class QualifiedName; |
| 15 |
| 16 class HTMLIFrameElementPayments final |
| 17 : public GarbageCollected<HTMLIFrameElementPayments>, |
| 18 public Supplement<HTMLIFrameElement> { |
| 19 USING_GARBAGE_COLLECTED_MIXIN(HTMLIFrameElementPayments); |
| 20 |
| 21 public: |
| 22 static bool fastHasAttribute(const QualifiedName&, const HTMLIFrameElement&); |
| 23 static void setBooleanAttribute(const QualifiedName&, |
| 24 HTMLIFrameElement&, |
| 25 bool); |
| 26 static HTMLIFrameElementPayments& from(HTMLIFrameElement&); |
| 27 static bool allowPaymentRequest(HTMLIFrameElement&); |
| 28 |
| 29 DECLARE_VIRTUAL_TRACE(); |
| 30 |
| 31 private: |
| 32 HTMLIFrameElementPayments(); |
| 33 |
| 34 static const char* supplementName(); |
| 35 }; |
| 36 |
| 37 } // namespace blink |
| 38 |
| 39 #endif // HTMLIFrameElementPayments_h |
OLD | NEW |