| OLD | NEW |
| (Empty) |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/ui/search/instant_tab.h" | |
| 6 | |
| 7 #include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h" | |
| 8 #include "content/public/browser/web_contents.h" | |
| 9 | |
| 10 InstantTab::InstantTab(InstantPage::Delegate* delegate) | |
| 11 : InstantPage(delegate) { | |
| 12 } | |
| 13 | |
| 14 InstantTab::~InstantTab() { | |
| 15 } | |
| 16 | |
| 17 void InstantTab::Init(content::WebContents* contents) { | |
| 18 SetContents(contents); | |
| 19 } | |
| 20 | |
| 21 bool InstantTab::ShouldProcessAboutToNavigateMainFrame() { | |
| 22 return true; | |
| 23 } | |
| OLD | NEW |