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

Side by Side Diff: ios/chrome/browser/interstitials/ios_chrome_controller_client.h

Issue 2575623002: Componentizing SafeBrowsingBlockingPage Part 1 (Closed)
Patch Set: address comments from nparker@ Created 4 years 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
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/security_interstitials_strings.grdp ('k') | ios/chrome/browser/interstitials/ios_chrome_controller_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698