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

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

Issue 2661723002: Removed unused WebClient::AllowWebViewAllocInit. (Closed)
Patch Set: Created 3 years, 10 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 #import "ios/web/public/web_client.h" 5 #import "ios/web/public/web_client.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #if !defined(__has_feature) || !__has_feature(objc_arc) 9 #if !defined(__has_feature) || !__has_feature(objc_arc)
10 #error "This file requires ARC support." 10 #error "This file requires ARC support."
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 38
39 std::string WebClient::GetApplicationLocale() const { 39 std::string WebClient::GetApplicationLocale() const {
40 return "en-US"; 40 return "en-US";
41 } 41 }
42 42
43 bool WebClient::IsAppSpecificURL(const GURL& url) const { 43 bool WebClient::IsAppSpecificURL(const GURL& url) const {
44 return false; 44 return false;
45 } 45 }
46 46
47 bool WebClient::AllowWebViewAllocInit() const {
48 return false;
49 }
50
51 base::string16 WebClient::GetPluginNotSupportedText() const { 47 base::string16 WebClient::GetPluginNotSupportedText() const {
52 return base::string16(); 48 return base::string16();
53 } 49 }
54 50
55 std::string WebClient::GetProduct() const { 51 std::string WebClient::GetProduct() const {
56 return std::string(); 52 return std::string();
57 } 53 }
58 54
59 std::string WebClient::GetUserAgent(bool desktop_user_agent) const { 55 std::string WebClient::GetUserAgent(bool desktop_user_agent) const {
60 return std::string(); 56 return std::string();
(...skipping 21 matching lines...) Expand all
82 WebState* web_state, 78 WebState* web_state,
83 int cert_error, 79 int cert_error,
84 const net::SSLInfo& ssl_info, 80 const net::SSLInfo& ssl_info,
85 const GURL& request_url, 81 const GURL& request_url,
86 bool overridable, 82 bool overridable,
87 const base::Callback<void(bool)>& callback) { 83 const base::Callback<void(bool)>& callback) {
88 callback.Run(false); 84 callback.Run(false);
89 } 85 }
90 86
91 } // namespace web 87 } // 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