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 23 matching lines...) Expand all Loading... |
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 GoBackAfterNavigationCommitted() override; |
41 void Proceed() override; | 41 void Proceed() override; |
42 void Reload() override; | 42 void Reload() override; |
43 void OpenUrlInCurrentTab(const GURL& url) override; | 43 void OpenUrlInCurrentTab(const GURL& url) override; |
44 const std::string& GetApplicationLocale() override; | 44 const std::string& GetApplicationLocale() const override; |
45 PrefService* GetPrefService() override; | 45 PrefService* GetPrefService() override; |
46 const std::string GetExtendedReportingPrefName() override; | 46 const std::string GetExtendedReportingPrefName() const override; |
47 | 47 |
48 web::WebState* web_state_; | 48 web::WebState* web_state_; |
49 web::WebInterstitial* web_interstitial_; | 49 web::WebInterstitial* web_interstitial_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(IOSChromeControllerClient); | 51 DISALLOW_COPY_AND_ASSIGN(IOSChromeControllerClient); |
52 }; | 52 }; |
53 | 53 |
54 #endif // IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ | 54 #endif // IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ |
OLD | NEW |