Index: ios/web/web_state/web_view_internal_creation_util.h |
diff --git a/ios/web/web_state/web_view_internal_creation_util.h b/ios/web/web_state/web_view_internal_creation_util.h |
index 38226bf54abd918973c40dc5e4e34f8d0a3a2779..68e8912b914081ae99a51165a2884022b91ae6f5 100644 |
--- a/ios/web/web_state/web_view_internal_creation_util.h |
+++ b/ios/web/web_state/web_view_internal_creation_util.h |
@@ -7,8 +7,6 @@ |
#import <CoreGraphics/CoreGraphics.h> |
#import <WebKit/WebKit.h> |
- |
-#include "ios/web/public/user_agent.h" |
@protocol CRWContextMenuDelegate; |
@@ -28,7 +26,7 @@ |
WKWebView* BuildWKWebView(CGRect frame, |
WKWebViewConfiguration* configuration, |
BrowserState* browser_state, |
- UserAgentType user_agent_type, |
+ BOOL use_desktop_user_agent, |
id<CRWContextMenuDelegate> context_menu_delegate); |
// Creates and returns a new WKWebView for displaying regular web content. |
@@ -37,7 +35,7 @@ |
WKWebView* BuildWKWebView(CGRect frame, |
WKWebViewConfiguration* configuration, |
BrowserState* browser_state, |
- UserAgentType user_agent_type); |
+ BOOL use_desktop_user_agent); |
// Creates and returns a new WKWebView for displaying regular web content. |
// The preconditions for the creation of a WKWebView are the same as the |