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

Side by Side Diff: chrome/browser/instant/instant_tab.cc

Issue 12520005: Move desktop-specific Instant bits to c/b/ui/search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/instant/instant_tab.h ('k') | chrome/browser/instant/instant_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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/instant/instant_tab.h"
6
7 InstantTab::InstantTab(InstantPage::Delegate* delegate)
8 : InstantPage(delegate) {
9 }
10
11 InstantTab::~InstantTab() {
12 }
13
14 void InstantTab::Init(content::WebContents* contents) {
15 SetContents(contents);
16 DetermineIfPageSupportsInstant();
17 }
18
19 bool InstantTab::ShouldProcessSetSuggestions() {
20 return true;
21 }
22
23 bool InstantTab::ShouldProcessFocusOmnibox() {
24 return true;
25 }
26
27 bool InstantTab::ShouldProcessStartCapturingKeyStrokes() {
28 return true;
29 }
30
31 bool InstantTab::ShouldProcessStopCapturingKeyStrokes() {
32 return true;
33 }
34
35 bool InstantTab::ShouldProcessNavigateToURL() {
36 return true;
37 }
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_tab.h ('k') | chrome/browser/instant/instant_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698