OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ | 5 #ifndef IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ |
6 #define IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ | 6 #define IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 std::unique_ptr<security_interstitials::MetricsHelper> metrics_helper); | 30 std::unique_ptr<security_interstitials::MetricsHelper> metrics_helper); |
31 ~IOSChromeControllerClient() override; | 31 ~IOSChromeControllerClient() override; |
32 | 32 |
33 void SetWebInterstitial(web::WebInterstitial* web_interstitial); | 33 void SetWebInterstitial(web::WebInterstitial* web_interstitial); |
34 | 34 |
35 private: | 35 private: |
36 // security_interstitials::ControllerClient implementation. | 36 // security_interstitials::ControllerClient implementation. |
37 bool CanLaunchDateAndTimeSettings() override; | 37 bool CanLaunchDateAndTimeSettings() override; |
38 void LaunchDateAndTimeSettings() override; | 38 void LaunchDateAndTimeSettings() override; |
39 void GoBack() override; | 39 void GoBack() override; |
| 40 void GoBackAfterNavigationCommitted() override; |
40 void Proceed() override; | 41 void Proceed() override; |
41 void Reload() override; | 42 void Reload() override; |
42 void OpenUrlInCurrentTab(const GURL& url) override; | 43 void OpenUrlInCurrentTab(const GURL& url) override; |
43 const std::string& GetApplicationLocale() override; | 44 const std::string& GetApplicationLocale() override; |
44 PrefService* GetPrefService() override; | 45 PrefService* GetPrefService() override; |
45 const std::string GetExtendedReportingPrefName() override; | 46 const std::string GetExtendedReportingPrefName() override; |
46 | 47 |
47 web::WebState* web_state_; | 48 web::WebState* web_state_; |
48 web::WebInterstitial* web_interstitial_; | 49 web::WebInterstitial* web_interstitial_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(IOSChromeControllerClient); | 51 DISALLOW_COPY_AND_ASSIGN(IOSChromeControllerClient); |
51 }; | 52 }; |
52 | 53 |
53 #endif // IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ | 54 #endif // IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ |
OLD | NEW |