| 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/ui/search/instant_tab.h" | 5 #include "chrome/browser/ui/search/instant_tab.h" |
| 6 | 6 |
| 7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 8 #include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h" | 8 #include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h" |
| 9 #include "content/public/browser/web_contents.h" | 9 #include "content/public/browser/web_contents.h" |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 } | 39 } |
| 40 | 40 |
| 41 bool InstantTab::ShouldProcessFocusOmnibox() { | 41 bool InstantTab::ShouldProcessFocusOmnibox() { |
| 42 return true; | 42 return true; |
| 43 } | 43 } |
| 44 | 44 |
| 45 bool InstantTab::ShouldProcessNavigateToURL() { | 45 bool InstantTab::ShouldProcessNavigateToURL() { |
| 46 return true; | 46 return true; |
| 47 } | 47 } |
| 48 | 48 |
| 49 bool InstantTab::ShouldProcessPasteIntoOmnibox() { |
| 50 return true; |
| 51 } |
| 52 |
| 49 bool InstantTab::ShouldProcessDeleteMostVisitedItem() { | 53 bool InstantTab::ShouldProcessDeleteMostVisitedItem() { |
| 50 return true; | 54 return true; |
| 51 } | 55 } |
| 52 | 56 |
| 53 bool InstantTab::ShouldProcessUndoMostVisitedDeletion() { | 57 bool InstantTab::ShouldProcessUndoMostVisitedDeletion() { |
| 54 return true; | 58 return true; |
| 55 } | 59 } |
| 56 | 60 |
| 57 bool InstantTab::ShouldProcessUndoAllMostVisitedDeletions() { | 61 bool InstantTab::ShouldProcessUndoAllMostVisitedDeletions() { |
| 58 return true; | 62 return true; |
| 59 } | 63 } |
| OLD | NEW |