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

Unified Diff: chrome/common/render_messages.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/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 547057cf0a9503a7003d7f69afefcca74e293915..912ae39393653e52309f0a2ab664f8008c7c7370 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -672,6 +672,12 @@ IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox,
int /* page_id */,
OmniboxFocusState /* state */)
+// Tells InstantExtended to paste the text or the clipboard content if text is
samarth 2013/08/06 18:39:44 nit: Tells InstantExtended to paste text into the
jfweitz 2013/08/09 02:37:41 Done.
+// empty into the omnibox.
+IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxPaste,
samarth 2013/08/06 18:39:44 Perhaps PasteAndOpenDropdown to make it clearer an
jfweitz 2013/08/09 02:37:41 Done.
+ int /* page_id */,
+ string16 /* text to be pasted */)
+
// Tells InstantExtended whether the embedded search API is supported.
// See http://dev.chromium.org/embeddedsearch
IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined,

Powered by Google App Engine
This is Rietveld 408576698