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

Unified Diff: chrome/browser/ui/search/instant_controller.h

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_controller.h
diff --git a/chrome/browser/ui/search/instant_controller.h b/chrome/browser/ui/search/instant_controller.h
index e117a3a908034bbe58820fd82675b84df443c114..a781a293c1878affa7ba2685f4b3db0f88d91b0f 100644
--- a/chrome/browser/ui/search/instant_controller.h
+++ b/chrome/browser/ui/search/instant_controller.h
@@ -155,6 +155,8 @@ class InstantController : public InstantPage::Delegate {
content::PageTransition transition,
WindowOpenDisposition disposition,
bool is_search_type) OVERRIDE;
+ virtual void PasteIntoOmnibox(const content::WebContents* contents,
+ const string16& text) OVERRIDE;
samarth 2013/08/06 18:39:44 nit: align with const above.
jfweitz 2013/08/09 02:37:41 Done.
virtual void InstantPageLoadFailed(content::WebContents* contents) OVERRIDE;
// Invoked by the InstantLoader when the Instant page wants to delete a

Powered by Google App Engine
This is Rietveld 408576698