Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: ios/web/web_view_creation_util.mm

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/web/web_view_counter_impl.mm ('k') | ios/web/webui/shared_resources_data_source_ios.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/web/public/web_view_creation_util.h" 5 #include "ios/web/public/web_view_creation_util.h"
6 6
7 #include <Foundation/Foundation.h> 7 #include <Foundation/Foundation.h>
8 #include <stddef.h>
9 #include <stdint.h>
8 #include <sys/sysctl.h> 10 #include <sys/sysctl.h>
9 11
10 #include "base/ios/ios_util.h" 12 #include "base/ios/ios_util.h"
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #import "ios/web/public/browsing_data_partition.h" 14 #import "ios/web/public/browsing_data_partition.h"
13 #import "ios/web/web_state/ui/wk_web_view_configuration_provider.h" 15 #import "ios/web/web_state/ui/wk_web_view_configuration_provider.h"
14 #import "ios/web/web_state/web_view_internal_creation_util.h" 16 #import "ios/web/web_state/web_view_internal_creation_util.h"
15 17
16 namespace web { 18 namespace web {
17 19
(...skipping 29 matching lines...) Expand all
47 WKWebView* CreateWKWebView(CGRect frame, BrowserState* browser_state) { 49 WKWebView* CreateWKWebView(CGRect frame, BrowserState* browser_state) {
48 DCHECK(browser_state); 50 DCHECK(browser_state);
49 51
50 WKWebViewConfigurationProvider& config_provider = 52 WKWebViewConfigurationProvider& config_provider =
51 WKWebViewConfigurationProvider::FromBrowserState(browser_state); 53 WKWebViewConfigurationProvider::FromBrowserState(browser_state);
52 return CreateWKWebView(frame, config_provider.GetWebViewConfiguration(), 54 return CreateWKWebView(frame, config_provider.GetWebViewConfiguration(),
53 browser_state); 55 browser_state);
54 } 56 }
55 57
56 } // namespace web 58 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_view_counter_impl.mm ('k') | ios/web/webui/shared_resources_data_source_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698