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

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

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Remove WVI call to WFWI. Created 3 years, 7 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 // message in response. 421 // message in response.
422 IPC_MESSAGE_ROUTED2(ViewMsg_WasShown, 422 IPC_MESSAGE_ROUTED2(ViewMsg_WasShown,
423 bool /* needs_repainting */, 423 bool /* needs_repainting */,
424 ui::LatencyInfo /* latency_info */) 424 ui::LatencyInfo /* latency_info */)
425 425
426 // Tells the renderer to focus the first (last if reverse is true) focusable 426 // Tells the renderer to focus the first (last if reverse is true) focusable
427 // node. 427 // node.
428 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, 428 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus,
429 bool /* reverse */) 429 bool /* reverse */)
430 430
431 // Sent to inform the renderer to invoke a context menu.
432 // The parameter specifies the location in the render view's coordinates.
433 IPC_MESSAGE_ROUTED2(ViewMsg_ShowContextMenu,
434 ui::MenuSourceType,
435 gfx::Point /* location where menu should be shown */)
436
437 // Tells the renderer to perform the given action on the media player 431 // Tells the renderer to perform the given action on the media player
438 // located at the given point. 432 // located at the given point.
439 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, 433 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt,
440 gfx::Point, /* location */ 434 gfx::Point, /* location */
441 blink::WebMediaPlayerAction) 435 blink::WebMediaPlayerAction)
442 436
443 // Tells the renderer to perform the given action on the plugin located at 437 // Tells the renderer to perform the given action on the plugin located at
444 // the given point. 438 // the given point.
445 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, 439 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt,
446 gfx::Point, /* location */ 440 gfx::Point, /* location */
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 int /* y */) 878 int /* y */)
885 879
886 #elif defined(OS_MACOSX) 880 #elif defined(OS_MACOSX)
887 // Receives content of a web page as plain text. 881 // Receives content of a web page as plain text.
888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 882 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
889 #endif 883 #endif
890 884
891 // Adding a new message? Stick to the sort order above: first platform 885 // Adding a new message? Stick to the sort order above: first platform
892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 886 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 887 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698