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

Side by Side Diff: content/common/frame_messages.h

Issue 2765443004: AndroidOverlay implementation using Dialog. (Closed)
Patch Set: cl feedback, fixed browsertests Created 3 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 // 884 //
885 // If match rects are already cached on the browser side, |current_version| 885 // If match rects are already cached on the browser side, |current_version|
886 // should be the version number from the FrameHostMsg_FindMatchRects_Reply 886 // should be the version number from the FrameHostMsg_FindMatchRects_Reply
887 // they came in, so the renderer can tell if it needs to send updated rects. 887 // they came in, so the renderer can tell if it needs to send updated rects.
888 // Otherwise just pass -1 to always receive the list of rects. 888 // Otherwise just pass -1 to always receive the list of rects.
889 // 889 //
890 // There must be an active search string (it is probably most useful to call 890 // There must be an active search string (it is probably most useful to call
891 // this immediately after a FrameHostMsg_Find_Reply message arrives with 891 // this immediately after a FrameHostMsg_Find_Reply message arrives with
892 // final_update set to true). 892 // final_update set to true).
893 IPC_MESSAGE_ROUTED1(FrameMsg_FindMatchRects, int /* current_version */) 893 IPC_MESSAGE_ROUTED1(FrameMsg_FindMatchRects, int /* current_version */)
894
895 // Notify the renderer of our overlay routing token.
896 IPC_MESSAGE_ROUTED1(FrameMsg_SetOverlayRoutingToken,
897 base::UnguessableToken /* routing_token */)
894 #endif 898 #endif
895 899
896 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) 900 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
897 #if defined(OS_MACOSX) 901 #if defined(OS_MACOSX)
898 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem, 902 IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem,
899 int /* selected index, -1 means no selection */) 903 int /* selected index, -1 means no selection */)
900 #else 904 #else
901 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, 905 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems,
902 bool /* user canceled the popup */, 906 bool /* user canceled the popup */,
903 std::vector<int> /* selected indices */) 907 std::vector<int> /* selected indices */)
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1648 std::vector<gfx::RectF> /* rects */, 1652 std::vector<gfx::RectF> /* rects */,
1649 gfx::RectF /* active_rect */) 1653 gfx::RectF /* active_rect */)
1650 1654
1651 // Response to FrameMsg_GetNearestFindResult. |distance| is the distance to the 1655 // Response to FrameMsg_GetNearestFindResult. |distance| is the distance to the
1652 // nearest find result in the sending frame. 1656 // nearest find result in the sending frame.
1653 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1657 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1654 int /* nfr_request_id */, 1658 int /* nfr_request_id */,
1655 float /* distance */) 1659 float /* distance */)
1656 1660
1657 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1661 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1662
1663 // Request that the host send its overlay routing token for this render frame
1664 // via SetOverlayRoutingToken.
1665 IPC_MESSAGE_ROUTED0(FrameHostMsg_RequestOverlayRoutingToken)
1658 #endif 1666 #endif
1659 1667
1660 // Adding a new message? Stick to the sort order above: first platform 1668 // Adding a new message? Stick to the sort order above: first platform
1661 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1669 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1662 // platform independent FrameHostMsg, then ifdefs for platform specific 1670 // platform independent FrameHostMsg, then ifdefs for platform specific
1663 // FrameHostMsg. 1671 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698