std::string user_agent;
if (options.Get("useragent", &user_agent))
- this->SetUserAgent(user_agent);
+ SetUserAgent(user_agent);
params.transition_type = ui::PAGE_TRANSITION_TYPED;
params.should_clear_history_list = true;
constructor: (webViewImpl) ->
super webViewConstants.ATTRIBUTE_HTTPREFERRER, webViewImpl
-# Attribute specifies HTTP referrer.
+# Attribute specifies user agent
class UserAgentAttribute extends WebViewAttribute
constructor: (webViewImpl) ->
super webViewConstants.ATTRIBUTE_USERAGENT, webViewImpl