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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 665
666 // Counts a mouseover event on an InstantExtended most visited tile. 666 // Counts a mouseover event on an InstantExtended most visited tile.
667 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CountMouseover, 667 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CountMouseover,
668 int /* page_id */) 668 int /* page_id */)
669 669
670 // Tells InstantExtended to set the omnibox focus state. 670 // Tells InstantExtended to set the omnibox focus state.
671 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox, 671 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox,
672 int /* page_id */, 672 int /* page_id */,
673 OmniboxFocusState /* state */) 673 OmniboxFocusState /* state */)
674 674
675 // Tells InstantExtended to paste text into the omnibox. If text is empty,
676 // the clipboard contents will be pasted. This causes the omnibox dropdown to
677 // open.
678 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PasteAndOpenDropdown,
679 int /* page_id */,
680 string16 /* text to be pasted */)
681
675 // Tells InstantExtended whether the embedded search API is supported. 682 // Tells InstantExtended whether the embedded search API is supported.
676 // See http://dev.chromium.org/embeddedsearch 683 // See http://dev.chromium.org/embeddedsearch
677 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, 684 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined,
678 int /* page_id */, 685 int /* page_id */,
679 bool /* result */) 686 bool /* result */)
680 687
681 // Tells InstantExtended to delete a most visited item. 688 // Tells InstantExtended to delete a most visited item.
682 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem, 689 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem,
683 int /* page_id */, 690 int /* page_id */,
684 GURL /* url */) 691 GURL /* url */)
(...skipping 13 matching lines...) Expand all
698 705
699 // Tells InstantExtended to undo one most visited item deletion. 706 // Tells InstantExtended to undo one most visited item deletion.
700 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, 707 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion,
701 int /* page_id */, 708 int /* page_id */,
702 GURL /* url */) 709 GURL /* url */)
703 710
704 // Tells InstantExtended whether the page supports voice search. 711 // Tells InstantExtended whether the page supports voice search.
705 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported, 712 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported,
706 int /* page_id */, 713 int /* page_id */,
707 bool /* supported */) 714 bool /* supported */)
OLDNEW
« 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