blob: 1ed11c79b4b1ab6a58391acc1a8e0ea53679307e [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'chrome://resources/cr_elements/cr_button/cr_button.js';
import {CrLitElement} from '//resources/lit/v3_0/lit.rollup.js';
import {BaseDialogMixin} from './base_dialog_mixin.js';
import {getCss} from './base_dialog_styles.css.js';
import {PrivacySandboxNotice} from './notice.mojom-webui.js';
import {getHtml} from './three_ads_apis_notice.html.js';
const ThreeAdsApisNoticeBase =
BaseDialogMixin(CrLitElement, PrivacySandboxNotice.kThreeAdsApisNotice);
export class ThreeAdsApisNotice extends ThreeAdsApisNoticeBase {
static get is() {
return 'three-ads-apis-notice';
}
static override get styles() {
return getCss();
}
override render() {
return getHtml.bind(this)();
}
}
declare global {
interface HTMLElementTagNameMap {
'three-ads-apis-notice': ThreeAdsApisNotice;
}
}
customElements.define(ThreeAdsApisNotice.is, ThreeAdsApisNotice);