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

Unified Diff: chrome/browser/instant/instant_tab.h

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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
Index: chrome/browser/instant/instant_tab.h
diff --git a/chrome/browser/instant/instant_tab.h b/chrome/browser/instant/instant_tab.h
deleted file mode 100644
index 131e227672f75b49e9652ed43ffa3edd0a620acd..0000000000000000000000000000000000000000
--- a/chrome/browser/instant/instant_tab.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2012 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_INSTANT_INSTANT_TAB_H_
-#define CHROME_BROWSER_INSTANT_INSTANT_TAB_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/instant/instant_page.h"
-
-// InstantTab represents a committed page (i.e. an actual tab on the tab strip)
-// that supports the Instant API.
-class InstantTab : public InstantPage {
- public:
- explicit InstantTab(InstantPage::Delegate* delegate);
- virtual ~InstantTab();
-
- // Start observing |contents| for messages. Sends a message to determine if
- // the page supports the Instant API.
- void Init(content::WebContents* contents);
-
- private:
- // Overridden from InstantPage:
- virtual bool ShouldProcessSetSuggestions() OVERRIDE;
- virtual bool ShouldProcessFocusOmnibox() OVERRIDE;
- virtual bool ShouldProcessStartCapturingKeyStrokes() OVERRIDE;
- virtual bool ShouldProcessStopCapturingKeyStrokes() OVERRIDE;
- virtual bool ShouldProcessNavigateToURL() OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(InstantTab);
-};
-
-#endif // CHROME_BROWSER_INSTANT_INSTANT_TAB_H_

Powered by Google App Engine
This is Rietveld 408576698