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

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

Issue 1858063002: Remove Mac NPAPI things (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more build fixes Created 4 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 (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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 bool /* enable_hiding */, 877 bool /* enable_hiding */,
878 bool /* enable_showing */, 878 bool /* enable_showing */,
879 bool /* animate */) 879 bool /* animate */)
880 880
881 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) 881 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded)
882 882
883 // Extracts the data at the given rect, returning it through the 883 // Extracts the data at the given rect, returning it through the
884 // ViewHostMsg_SmartClipDataExtracted IPC. 884 // ViewHostMsg_SmartClipDataExtracted IPC.
885 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, 885 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData,
886 gfx::Rect /* rect */) 886 gfx::Rect /* rect */)
887
888 #elif defined(OS_MACOSX)
889 // Let the RenderView know its window has changed visibility.
890 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
891 bool /* visibile */)
892
893 // Let the RenderView know its window's frame has changed.
894 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
895 gfx::Rect /* window frame */,
896 gfx::Rect /* content view frame */)
897
898 // Tell the renderer that plugin IME has completed.
899 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted,
900 base::string16 /* text */,
901 int /* plugin_id */)
902 #endif 887 #endif
903 888
904 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. 889 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame.
905 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, 890 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck,
906 uint32_t /* output_surface_id */, 891 uint32_t /* output_surface_id */,
907 cc::CompositorFrameAck /* ack */) 892 cc::CompositorFrameAck /* ack */)
908 893
909 // Sent by browser to tell renderer compositor that some resources that were 894 // Sent by browser to tell renderer compositor that some resources that were
910 // given to the browser in a swap are not being used anymore. 895 // given to the browser in a swap are not being used anymore.
911 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, 896 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 base::string16 /* html */, 1281 base::string16 /* html */,
1297 gfx::Rect /* rect */) 1282 gfx::Rect /* rect */)
1298 1283
1299 // Notifies that an unhandled tap has occurred at the specified x,y position 1284 // Notifies that an unhandled tap has occurred at the specified x,y position
1300 // and that the UI may need to be triggered. 1285 // and that the UI may need to be triggered.
1301 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, 1286 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded,
1302 int /* x */, 1287 int /* x */,
1303 int /* y */) 1288 int /* y */)
1304 1289
1305 #elif defined(OS_MACOSX) 1290 #elif defined(OS_MACOSX)
1306 // Informs the browser that a plugin has gained or lost focus.
1307 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged,
1308 bool, /* focused */
1309 int /* plugin_id */)
1310
1311 // Instructs the browser to start plugin IME.
1312 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme)
1313
1314 // Receives content of a web page as plain text. 1291 // Receives content of a web page as plain text.
1315 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1292 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1316 #endif 1293 #endif
1317 1294
1318 // Adding a new message? Stick to the sort order above: first platform 1295 // Adding a new message? Stick to the sort order above: first platform
1319 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1296 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1320 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1297 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.cc ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698