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

Unified Diff: chrome/browser/interstitials/chrome_controller_client.h

Issue 1481213003: Componentize the bad clock blocking page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change for pkasting Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/interstitials/chrome_controller_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/interstitials/chrome_controller_client.h
diff --git a/chrome/browser/interstitials/chrome_controller_client.h b/chrome/browser/interstitials/chrome_controller_client.h
index 36342332b96a9be4e6977c6d2d8406dd013fb742..325296f51728be8ea3690ab2bbfa00b29ef4a1ca 100644
--- a/chrome/browser/interstitials/chrome_controller_client.h
+++ b/chrome/browser/interstitials/chrome_controller_client.h
@@ -9,6 +9,7 @@
#include "components/security_interstitials/core/controller_client.h"
namespace content {
+class InterstitialPage;
class WebContents;
}
@@ -18,6 +19,13 @@ class ChromeControllerClient : public security_interstitials::ControllerClient {
explicit ChromeControllerClient(content::WebContents* web_contents);
~ChromeControllerClient() override;
+ void set_interstitial_page(content::InterstitialPage* interstitial_page);
+
+ // security_interstitials::ControllerClient overrides
+ bool CanLaunchDateAndTimeSettings() override;
+ void LaunchDateAndTimeSettings() override;
+ void GoBack() override;
+
protected:
// security_interstitials::ControllerClient overrides
void OpenUrlInCurrentTab(const GURL& url) override;
@@ -27,6 +35,7 @@ class ChromeControllerClient : public security_interstitials::ControllerClient {
private:
content::WebContents* web_contents_;
+ content::InterstitialPage* interstitial_page_;
DISALLOW_COPY_AND_ASSIGN(ChromeControllerClient);
};
« no previous file with comments | « no previous file | chrome/browser/interstitials/chrome_controller_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698