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

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

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.cc
diff --git a/chrome/browser/instant/instant_tab.cc b/chrome/browser/instant/instant_tab.cc
deleted file mode 100644
index 89e0ba3d6f603aadacfac958482fd705d1f0e908..0000000000000000000000000000000000000000
--- a/chrome/browser/instant/instant_tab.cc
+++ /dev/null
@@ -1,37 +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.
-
-#include "chrome/browser/instant/instant_tab.h"
-
-InstantTab::InstantTab(InstantPage::Delegate* delegate)
- : InstantPage(delegate) {
-}
-
-InstantTab::~InstantTab() {
-}
-
-void InstantTab::Init(content::WebContents* contents) {
- SetContents(contents);
- DetermineIfPageSupportsInstant();
-}
-
-bool InstantTab::ShouldProcessSetSuggestions() {
- return true;
-}
-
-bool InstantTab::ShouldProcessFocusOmnibox() {
- return true;
-}
-
-bool InstantTab::ShouldProcessStartCapturingKeyStrokes() {
- return true;
-}
-
-bool InstantTab::ShouldProcessStopCapturingKeyStrokes() {
- return true;
-}
-
-bool InstantTab::ShouldProcessNavigateToURL() {
- return true;
-}

Powered by Google App Engine
This is Rietveld 408576698