Set up a class for it in web-view-attributes
This commit is contained in:
parent
3993161a63
commit
3a81a5224d
1 changed files with 5 additions and 0 deletions
|
@ -167,6 +167,11 @@ class HttpReferrerAttribute extends WebViewAttribute
|
|||
constructor: (webViewImpl) ->
|
||||
super webViewConstants.ATTRIBUTE_HTTPREFERRER, webViewImpl
|
||||
|
||||
# Attribute specifies HTTP referrer.
|
||||
class UserAgentAttribute extends WebViewAttribute
|
||||
constructor: (webViewImpl) ->
|
||||
super webViewConstants.ATTRIBUTE_HTTPREFERRER, webViewImpl
|
||||
|
||||
# Attribute that set preload script.
|
||||
class PreloadAttribute extends WebViewAttribute
|
||||
constructor: (webViewImpl) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue