OLD | NEW |
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 } | 45 } |
46 | 46 |
47 base::string16 WebClient::GetPluginNotSupportedText() const { | 47 base::string16 WebClient::GetPluginNotSupportedText() const { |
48 return base::string16(); | 48 return base::string16(); |
49 } | 49 } |
50 | 50 |
51 std::string WebClient::GetProduct() const { | 51 std::string WebClient::GetProduct() const { |
52 return std::string(); | 52 return std::string(); |
53 } | 53 } |
54 | 54 |
55 std::string WebClient::GetUserAgent(bool desktop_user_agent) const { | 55 std::string WebClient::GetUserAgent(UserAgentType type) const { |
56 return std::string(); | 56 return std::string(); |
57 } | 57 } |
58 | 58 |
59 base::string16 WebClient::GetLocalizedString(int message_id) const { | 59 base::string16 WebClient::GetLocalizedString(int message_id) const { |
60 return base::string16(); | 60 return base::string16(); |
61 } | 61 } |
62 | 62 |
63 base::StringPiece WebClient::GetDataResource( | 63 base::StringPiece WebClient::GetDataResource( |
64 int resource_id, | 64 int resource_id, |
65 ui::ScaleFactor scale_factor) const { | 65 ui::ScaleFactor scale_factor) const { |
(...skipping 12 matching lines...) Expand all Loading... |
78 WebState* web_state, | 78 WebState* web_state, |
79 int cert_error, | 79 int cert_error, |
80 const net::SSLInfo& ssl_info, | 80 const net::SSLInfo& ssl_info, |
81 const GURL& request_url, | 81 const GURL& request_url, |
82 bool overridable, | 82 bool overridable, |
83 const base::Callback<void(bool)>& callback) { | 83 const base::Callback<void(bool)>& callback) { |
84 callback.Run(false); | 84 callback.Run(false); |
85 } | 85 } |
86 | 86 |
87 } // namespace web | 87 } // namespace web |
OLD | NEW |