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

Unified Diff: chrome/browser/ui/search/instant_tab.cc

Issue 20501002: Adds paste function to searchbox api and handles paste event on fakebox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds optional text param to paste. Also adds drop behavior to fakebox. Created 7 years, 5 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/ui/search/instant_tab.cc
diff --git a/chrome/browser/ui/search/instant_tab.cc b/chrome/browser/ui/search/instant_tab.cc
index ef2500d8902faaddf152ed6576bbfb0dbd5e34e8..3112930d3ec0efa5416b384bd817daaad4331870 100644
--- a/chrome/browser/ui/search/instant_tab.cc
+++ b/chrome/browser/ui/search/instant_tab.cc
@@ -46,6 +46,10 @@ bool InstantTab::ShouldProcessNavigateToURL() {
return true;
}
+bool InstantTab::ShouldProcessPasteIntoOmnibox() {
+ return true;
+}
+
bool InstantTab::ShouldProcessDeleteMostVisitedItem() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698