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

Side by Side Diff: ios/web/public/web_client.mm

Issue 1258833005: Removing GetWebViewFactory method in WebClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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/public/web_client.h ('k') | no next file » | 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_client.h" 5 #include "ios/web/public/web_client.h"
6 6
7 #include <Foundation/Foundation.h> 7 #include <Foundation/Foundation.h>
8 8
9 namespace web { 9 namespace web {
10 10
(...skipping 10 matching lines...) Expand all
21 WebClient::WebClient() { 21 WebClient::WebClient() {
22 } 22 }
23 23
24 WebClient::~WebClient() { 24 WebClient::~WebClient() {
25 } 25 }
26 26
27 WebMainParts* WebClient::CreateWebMainParts() { 27 WebMainParts* WebClient::CreateWebMainParts() {
28 return nullptr; 28 return nullptr;
29 } 29 }
30 30
31 WebViewFactory* WebClient::GetWebViewFactory() const {
32 return nullptr;
33 }
34
35 std::string WebClient::GetAcceptLangs(BrowserState* state) const { 31 std::string WebClient::GetAcceptLangs(BrowserState* state) const {
36 return std::string(); 32 return std::string();
37 } 33 }
38 34
39 std::string WebClient::GetApplicationLocale() const { 35 std::string WebClient::GetApplicationLocale() const {
40 return "en-US"; 36 return "en-US";
41 } 37 }
42 38
43 bool WebClient::IsAppSpecificURL(const GURL& url) const { 39 bool WebClient::IsAppSpecificURL(const GURL& url) const {
44 return false; 40 return false;
(...skipping 27 matching lines...) Expand all
72 } 68 }
73 69
74 NSString* WebClient::GetEarlyPageScript(WebViewType web_view_type) const { 70 NSString* WebClient::GetEarlyPageScript(WebViewType web_view_type) const {
75 return @""; 71 return @"";
76 } 72 }
77 73
78 bool WebClient::IsExternalURLBlockingEnabled() const { 74 bool WebClient::IsExternalURLBlockingEnabled() const {
79 return true; 75 return true;
80 } 76 }
81 } // namespace web 77 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/public/web_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698