blob: e65e29a5bd176df5e990d74d2ac254dfb17b33e0 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_SHARED_PUBLIC_COMMANDS_WEB_CONTENT_COMMANDS_H_
#define IOS_CHROME_BROWSER_SHARED_PUBLIC_COMMANDS_WEB_CONTENT_COMMANDS_H_
@class PKPass;
// Commands for starting UI in response to certain types of content loading.
@protocol WebContentCommands
// Opens StoreKit modal to present a product using `productParameters`.
// SKStoreProductParameterITunesItemIdentifier key must be set in
// `productParameters`.
- (void)showAppStoreWithParameters:(NSDictionary*)productParameters;
// Opens the system PassKit dialog to add `pass`.
- (void)showDialogForPassKitPass:(PKPass*)pass;
@end
#endif // IOS_CHROME_BROWSER_SHARED_PUBLIC_COMMANDS_WEB_CONTENT_COMMANDS_H_