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

Side by Side Diff: chrome/common/render_messages.h

Issue 17132011: Add setVoiceSearchSupported to the searchbox API. This will be used to determine whether to show a … (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebase past 16035020, add test. Created 7 years, 6 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 OmniboxFocusState /* state */) 705 OmniboxFocusState /* state */)
706 706
707 // Sent by Instant to show any attached bars. 707 // Sent by Instant to show any attached bars.
708 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars, 708 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars,
709 int /* page_id */) 709 int /* page_id */)
710 710
711 // Sent by Instant to hide any attached bars. 711 // Sent by Instant to hide any attached bars.
712 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars, 712 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars,
713 int /* page_id */) 713 int /* page_id */)
714 714
715 // Sent by Instant to indicate whether the page supports voice search.
716 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported,
717 int /* page_id */,
718 bool /* supported */)
719
715 // The currently displayed PDF has an unsupported feature. 720 // The currently displayed PDF has an unsupported feature.
716 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) 721 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature)
717 722
718 // This message indicates the error appeared in the frame. 723 // This message indicates the error appeared in the frame.
719 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, 724 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError,
720 int /* error */) 725 int /* error */)
721 726
722 // This message indicates the monitored frame loading had completed. 727 // This message indicates the monitored frame loading had completed.
723 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) 728 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted)
724 729
(...skipping 10 matching lines...) Expand all
735 // previous SetCookie message to be processed. 740 // previous SetCookie message to be processed.
736 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 741 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
737 GURL /* url */, 742 GURL /* url */,
738 GURL /* first_party_for_cookies */, 743 GURL /* first_party_for_cookies */,
739 std::string /* cookies */) 744 std::string /* cookies */)
740 745
741 // Provide the browser process with current renderer framerate. 746 // Provide the browser process with current renderer framerate.
742 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 747 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
743 int /* routing id */, 748 int /* routing id */,
744 float /* frames per second */) 749 float /* frames per second */)
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper.cc ('k') | chrome/renderer/resources/extensions/searchbox_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698