| 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 #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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |