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

Side by Side Diff: chrome/browser/ui/search/instant_tab.cc

Issue 17303003: InstantExtended: hook up InstantTab in incognito. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont send other info in incognito. Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/search/instant_tab.h" 5 #include "chrome/browser/ui/search/instant_tab.h"
6 #include "content/public/browser/web_contents.h" 6 #include "content/public/browser/web_contents.h"
7 7
8 InstantTab::InstantTab(InstantPage::Delegate* delegate) 8 InstantTab::InstantTab(InstantPage::Delegate* delegate,
9 : InstantPage(delegate, "") { 9 bool off_the_record)
10 : InstantPage(delegate, "", off_the_record) {
10 } 11 }
11 12
12 InstantTab::~InstantTab() { 13 InstantTab::~InstantTab() {
13 } 14 }
14 15
15 void InstantTab::Init(content::WebContents* contents) { 16 void InstantTab::Init(content::WebContents* contents) {
16 SetContents(contents); 17 SetContents(contents);
17 } 18 }
18 19
19 bool InstantTab::ShouldProcessAboutToNavigateMainFrame() { 20 bool InstantTab::ShouldProcessAboutToNavigateMainFrame() {
(...skipping 16 matching lines...) Expand all
36 return true; 37 return true;
37 } 38 }
38 39
39 bool InstantTab::ShouldProcessUndoMostVisitedDeletion() { 40 bool InstantTab::ShouldProcessUndoMostVisitedDeletion() {
40 return true; 41 return true;
41 } 42 }
42 43
43 bool InstantTab::ShouldProcessUndoAllMostVisitedDeletions() { 44 bool InstantTab::ShouldProcessUndoAllMostVisitedDeletions() {
44 return true; 45 return true;
45 } 46 }
OLDNEW
« chrome/browser/ui/search/instant_tab.h ('K') | « chrome/browser/ui/search/instant_tab.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698