| Index: ios/web_view/public/cwv_web_view.h
|
| diff --git a/ios/web_view/public/cwv_web_view.h b/ios/web_view/public/cwv_web_view.h
|
| index 54bf295018f370e8f423d397cc1fed70f64538b5..9f608525ca89d6bedffffe2835e7fba2d043d984 100644
|
| --- a/ios/web_view/public/cwv_web_view.h
|
| +++ b/ios/web_view/public/cwv_web_view.h
|
| @@ -69,6 +69,15 @@ CWV_EXPORT
|
| // depending upon their internal state.
|
| + (void)setUserAgentProduct:(NSString*)product;
|
|
|
| +// Use this method to set the necessary credentials used to communicate with
|
| +// the Google API for features such as translate. See this link for more info:
|
| +// https://support.google.com/googleapi/answer/6158857
|
| +// This method must be called before any |CWVWebViews| are instantiated for
|
| +// the keys to be used.
|
| ++ (void)setGoogleAPIKey:(NSString*)googleAPIKey
|
| + clientID:(NSString*)clientID
|
| + clientSecret:(NSString*)clientSecret;
|
| +
|
| // |configuration| must not be null
|
| - (instancetype)initWithFrame:(CGRect)frame
|
| configuration:(CWVWebViewConfiguration*)configuration
|
|
|