| OLD | NEW |
| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 70 |
| 71 void InstantTab::StartCapturingKeyStrokes() { | 71 void InstantTab::StartCapturingKeyStrokes() { |
| 72 // We don't honor this call from committed tabs. | 72 // We don't honor this call from committed tabs. |
| 73 } | 73 } |
| 74 | 74 |
| 75 void InstantTab::StopCapturingKeyStrokes() { | 75 void InstantTab::StopCapturingKeyStrokes() { |
| 76 // We don't honor this call from committed tabs. | 76 // We don't honor this call from committed tabs. |
| 77 } | 77 } |
| 78 |
| 79 void InstantTab::AboutToNavigateMainFrame(const GURL& url) { |
| 80 // The client is a committed tab, navigations will happen as expected. |
| 81 } |
| OLD | NEW |