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

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

Issue 2955503002: Make interstitial links open in a new tab (Closed)
Patch Set: Fix compilation error Created 3 years, 5 months 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 24 matching lines...) Expand all
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 bool CanGoBack() override; 40 bool CanGoBack() override;
41 void GoBackAfterNavigationCommitted() override; 41 void GoBackAfterNavigationCommitted() override;
42 void Proceed() override; 42 void Proceed() override;
43 void Reload() override; 43 void Reload() override;
44 void OpenUrlInCurrentTab(const GURL& url) override; 44 void OpenUrlInCurrentTab(const GURL& url) override;
45 void OpenUrlInNewForegroundTab(const GURL& url) override;
45 const std::string& GetApplicationLocale() const override; 46 const std::string& GetApplicationLocale() const override;
46 PrefService* GetPrefService() override; 47 PrefService* GetPrefService() override;
47 const std::string GetExtendedReportingPrefName() const override; 48 const std::string GetExtendedReportingPrefName() const override;
48 49
49 web::WebState* web_state_; 50 web::WebState* web_state_;
50 web::WebInterstitial* web_interstitial_; 51 web::WebInterstitial* web_interstitial_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(IOSChromeControllerClient); 53 DISALLOW_COPY_AND_ASSIGN(IOSChromeControllerClient);
53 }; 54 };
54 55
55 #endif // IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_ 56 #endif // IOS_CHROME_BROWSER_INTERSTITIALS_IOS_CHROME_CONTROLLER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698