コード例 #1
0
// static
bool HTMLIFrameElementPayments::allowPaymentRequest(
    HTMLIFrameElement& element) {
  return element.fastHasAttribute(HTMLNames::allowpaymentrequestAttr);
}
コード例 #2
0
// static
bool HTMLIFrameElementPayments::fastHasAttribute(
    const QualifiedName& name,
    const HTMLIFrameElement& element) {
  DCHECK(name == HTMLNames::allowpaymentrequestAttr);
  return element.fastHasAttribute(name);
}