Exemplo n.º 1
0
// static
bool HTMLIFrameElementPayments::allowPaymentRequest(
    HTMLIFrameElement& element) {
  return element.fastHasAttribute(HTMLNames::allowpaymentrequestAttr);
}
Exemplo n.º 2
0
// static
bool HTMLIFrameElementPayments::fastHasAttribute(
    const QualifiedName& name,
    const HTMLIFrameElement& element) {
  DCHECK(name == HTMLNames::allowpaymentrequestAttr);
  return element.fastHasAttribute(name);
}