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

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

Issue 11824050: InstantExtended: Committed NTP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 7 years, 11 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
index 33cfe621649223bbfdc5a8f243b12208a394050e..a6a081ad2b8fa47d69082727ea888adba11d078b 100644
--- a/chrome/browser/instant/instant_tab.cc
+++ b/chrome/browser/instant/instant_tab.cc
@@ -42,6 +42,10 @@ void InstantTab::SetDisplayInstantResults(bool display_instant_results) {
client_.SetDisplayInstantResults(display_instant_results);
}
+void InstantTab::KeyCaptureChanged(bool is_key_capture_enabled) {
+ client_.KeyCaptureChanged(is_key_capture_enabled);
+}
+
void InstantTab::UpOrDownKeyPressed(int count) {
client_.UpOrDownKeyPressed(count);
}
@@ -77,11 +81,11 @@ void InstantTab::ShowInstantPreview(InstantShownReason /* reason */,
}
void InstantTab::StartCapturingKeyStrokes() {
- // We don't honor this call from committed tabs.
+ controller_->StartCapturingKeyStrokes(contents());
}
void InstantTab::StopCapturingKeyStrokes() {
- // We don't honor this call from committed tabs.
+ controller_->StopCapturingKeyStrokes(contents());
}
void InstantTab::RenderViewGone() {

Powered by Google App Engine
This is Rietveld 408576698