From 13943836bebf471f88e5a4cd12768dae7cc1989f Mon Sep 17 00:00:00 2001 From: Tien Nguyen <43818500+tien271@users.noreply.github.com> Date: Sun, 14 Jun 2020 11:18:56 +0700 Subject: [PATCH] Update CDVThemeableBrowser.h --- src/ios/CDVThemeableBrowser.h | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/ios/CDVThemeableBrowser.h b/src/ios/CDVThemeableBrowser.h index 315a7f50e..32028a9fa 100644 --- a/src/ios/CDVThemeableBrowser.h +++ b/src/ios/CDVThemeableBrowser.h @@ -31,8 +31,6 @@ // //#import //#endif -@class CDVWKInAppBrowserViewController; - @interface CDVThemeableBrowserOptions : NSObject {} @property (nonatomic) BOOL location; @@ -45,7 +43,6 @@ @property (nonatomic) NSString* transitionstyle; @property (nonatomic) BOOL zoom; -@property (nonatomic) BOOL enableviewportscale; @property (nonatomic) BOOL mediaplaybackrequiresuseraction; @property (nonatomic) BOOL allowinlinemediaplayback; @property (nonatomic) BOOL keyboarddisplayrequiresuseraction; @@ -56,9 +53,7 @@ @property (nonatomic) NSDictionary* statusbar; @property (nonatomic) NSDictionary* toolbar; @property (nonatomic) NSDictionary* title; -@property (nonatomic) NSDictionary* browserProgress; @property (nonatomic) NSDictionary* backButton; -@property (nonatomic) NSDictionary* reloadButton; @property (nonatomic) NSDictionary* forwardButton; @property (nonatomic) NSDictionary* closeButton; @property (nonatomic) NSDictionary* menu; @@ -66,17 +61,15 @@ @property (nonatomic) BOOL backButtonCanClose; @property (nonatomic) BOOL disableAnimation; @property (nonatomic) BOOL fullscreen; -@property (nonatomic) BOOL allowsBackForwardNavigationGestures; -@property (nonatomic) NSString* customUserAgent; @end @class CDVThemeableBrowserViewController; @interface CDVThemeableBrowser : CDVPlugin { + BOOL _injectedIframeBridge; } - @property (nonatomic, retain) CDVThemeableBrowserViewController* themeableBrowserViewController; @property (nonatomic, copy) NSString* callbackId; @property (nonatomic, copy) NSRegularExpression *callbackIdPattern; @@ -87,13 +80,11 @@ - (void)injectScriptCode:(CDVInvokedUrlCommand*)command; - (void)show:(CDVInvokedUrlCommand*)command; - (void)show:(CDVInvokedUrlCommand*)command withAnimation:(BOOL)animated; -- (void)hide:(CDVInvokedUrlCommand*)command; - (void)reload:(CDVInvokedUrlCommand*)command; -- (void)changeButtonImage:(CDVInvokedUrlCommand*)command; @end -@interface CDVThemeableBrowserViewController : UIViewController { +@interface CDVThemeableBrowserViewController : UIViewController { @private NSString* _userAgent; NSString* _prevUserAgent; @@ -118,12 +109,10 @@ @property (nonatomic, strong) IBOutlet UILabel* addressLabel; @property (nonatomic, strong) IBOutlet UILabel* titleLabel; @property (nonatomic, strong) IBOutlet UIButton* backButton; -@property (nonatomic, strong) IBOutlet UIButton* reloadButton; @property (nonatomic, strong) IBOutlet UIButton* forwardButton; @property (nonatomic, strong) IBOutlet UIButton* menuButton; @property (nonatomic, strong) IBOutlet UIActivityIndicatorView* spinner; @property (nonatomic, strong) IBOutlet UIView* toolbar; -@property (nonatomic, strong) IBOutlet UIProgressView* progressView; @property (nonatomic, strong) NSArray* leftButtons; @property (nonatomic, strong) NSArray* rightButtons; @@ -132,8 +121,6 @@ @property (nonatomic, weak) CDVThemeableBrowser* navigationDelegate; @property (nonatomic) NSURL* currentURL; @property (nonatomic) CGFloat titleOffset; -@property (nonatomic , readonly , getter=loadProgress) CGFloat currentProgress; -- (void)changeButtonImage:(int)buttonIndex buttonProps:(NSDictionary*)buttonProps; - (void)close; - (void)reload;