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

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

Issue 11369137: Implement {Start,Stop}CapturingKeyStrokes for Instant. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase. Added comment. Created 8 years 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/ui/browser_instant_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/instant/instant_tab.h" 5 #include "chrome/browser/instant/instant_tab.h"
6 6
7 #include "chrome/browser/instant/instant_controller.h" 7 #include "chrome/browser/instant/instant_controller.h"
8 8
9 InstantTab::InstantTab(InstantController* controller, 9 InstantTab::InstantTab(InstantController* controller,
10 content::WebContents* contents) 10 content::WebContents* contents)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 client_.SetContents(NULL); 60 client_.SetContents(NULL);
61 61
62 controller_->InstantSupportDetermined(contents_, supports_instant); 62 controller_->InstantSupportDetermined(contents_, supports_instant);
63 } 63 }
64 64
65 void InstantTab::ShowInstantPreview(InstantShownReason /* reason */, 65 void InstantTab::ShowInstantPreview(InstantShownReason /* reason */,
66 int /* height */, 66 int /* height */,
67 InstantSizeUnits /* units */) { 67 InstantSizeUnits /* units */) {
68 // The page is a committed tab (i.e., always showing), so nothing to do. 68 // The page is a committed tab (i.e., always showing), so nothing to do.
69 } 69 }
70
71 void InstantTab::StartCapturingKeyStrokes() {
72 // We don't honor this call from committed tabs.
73 }
74
75 void InstantTab::StopCapturingKeyStrokes() {
76 // We don't honor this call from committed tabs.
77 }
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_tab.h ('k') | chrome/browser/ui/browser_instant_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698