Set up a class for it in web-view-attributes

This commit is contained in:
Paul Betts 2015-05-05 16:25:05 -07:00
parent 3993161a63
commit 3a81a5224d

View file

@ -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) ->