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

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: Nits Created 7 years, 4 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
« no previous file with comments | « chrome/browser/ui/search/instant_tab.cc ('k') | chrome/renderer/resources/extensions/searchbox_api.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 547057cf0a9503a7003d7f69afefcca74e293915..e75e566fa3828e37719608e2bb1efb1433d5e6d9 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -672,6 +672,13 @@ IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox,
int /* page_id */,
OmniboxFocusState /* state */)
+// Tells InstantExtended to paste text into the omnibox. If text is empty,
+// the clipboard contents will be pasted. This causes the omnibox dropdown to
+// open.
+IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PasteAndOpenDropdown,
+ 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,
« no previous file with comments | « chrome/browser/ui/search/instant_tab.cc ('k') | chrome/renderer/resources/extensions/searchbox_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698