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

Unified Diff: chrome/browser/tab_contents/chrome_interstitial_page.h

Issue 9323071: Use InterstitialPage through a delegate interface instead of deriving from it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | chrome/browser/tab_contents/chrome_interstitial_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/chrome_interstitial_page.h
===================================================================
--- chrome/browser/tab_contents/chrome_interstitial_page.h (revision 120733)
+++ chrome/browser/tab_contents/chrome_interstitial_page.h (working copy)
@@ -1,32 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_TAB_CONTENTS_CHROME_INTERSTITIAL_PAGE_H_
-#define CHROME_BROWSER_TAB_CONTENTS_CHROME_INTERSTITIAL_PAGE_H_
-#pragma once
-
-#include <map>
-#include <string>
-
-#include "content/browser/tab_contents/interstitial_page.h"
-#include "content/public/browser/notification_observer.h"
-#include "googleurl/src/gurl.h"
-
-// This class adds the possibility to react to DOMResponse-messages sent by
-// the RenderViewHost via ChromeRenderViewHostObserver to the InterstitialPage.
-class ChromeInterstitialPage : public InterstitialPage {
- public:
- ChromeInterstitialPage(content::WebContents* tab,
- bool new_navigation,
- const GURL& url);
- virtual ~ChromeInterstitialPage();
-
- // Shows the interstitial page in the tab.
- virtual void Show() OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ChromeInterstitialPage);
-};
-
-#endif // CHROME_BROWSER_TAB_CONTENTS_CHROME_INTERSTITIAL_PAGE_H_
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | chrome/browser/tab_contents/chrome_interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698