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

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: Changes for estark 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
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..ee149d6b6ae0266e08606853987e5c181a3a9c3f 100644
--- a/chrome/browser/interstitials/chrome_controller_client.h
+++ b/chrome/browser/interstitials/chrome_controller_client.h
@@ -7,17 +7,28 @@
#include "base/macros.h"
#include "components/security_interstitials/core/controller_client.h"
+#include "content/public/browser/interstitial_page.h"
estark 2015/12/01 21:41:51 remove
felt 2015/12/01 22:59:23 Done.
namespace content {
+class InterstitialPage;
class WebContents;
}
+#include "content/public/browser/web_contents.h"
estark 2015/12/01 21:41:51 woah, looks like you did something funny here :)
felt 2015/12/01 22:59:23 i have... absolutely no idea what happened here
+
// Provides embedder-specific logic for the security error page controller.
class ChromeControllerClient : public security_interstitials::ControllerClient {
public:
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 +38,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') | chrome/browser/ssl/bad_clock_blocking_page.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698