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

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

Issue 174367: Change the ChromiumPasteboard to have a notion of an alternate clipboard... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // RenderViewHostDelegate::RenderViewCreated method sends this message to a 302 // RenderViewHostDelegate::RenderViewCreated method sends this message to a
303 // new renderer to notify it that it will host developer tools UI and should 303 // new renderer to notify it that it will host developer tools UI and should
304 // set up all neccessary bindings and create DevToolsClient instance that 304 // set up all neccessary bindings and create DevToolsClient instance that
305 // will handle communication with inspected page DevToolsAgent. 305 // will handle communication with inspected page DevToolsAgent.
306 IPC_MESSAGE_ROUTED0(ViewMsg_SetupDevToolsClient) 306 IPC_MESSAGE_ROUTED0(ViewMsg_SetupDevToolsClient)
307 307
308 // Change the zoom level in the renderer. 308 // Change the zoom level in the renderer.
309 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, 309 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom,
310 int /* One of PageZoom::Function */) 310 int /* One of PageZoom::Function */)
311 311
312 // Insert text in the currently focused input area.
313 IPC_MESSAGE_ROUTED1(ViewMsg_InsertText,
314 string16 /* text */)
315
316 // Change encoding of page in the renderer. 312 // Change encoding of page in the renderer.
317 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 313 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
318 std::string /*new encoding name*/) 314 std::string /*new encoding name*/)
319 315
320 // Requests the renderer to reserve a range of page ids. 316 // Requests the renderer to reserve a range of page ids.
321 IPC_MESSAGE_ROUTED1(ViewMsg_ReservePageIDRange, 317 IPC_MESSAGE_ROUTED1(ViewMsg_ReservePageIDRange,
322 int /* size_of_range */) 318 int /* size_of_range */)
323 319
324 // Fill a form with data and optionally submit it 320 // Fill a form with data and optionally submit it
325 IPC_MESSAGE_ROUTED1(ViewMsg_FormFill, 321 IPC_MESSAGE_ROUTED1(ViewMsg_FormFill,
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail, 965 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail,
970 GURL /* url */, 966 GURL /* url */,
971 ThumbnailScore /* score */, 967 ThumbnailScore /* score */,
972 SkBitmap /* bitmap */) 968 SkBitmap /* bitmap */)
973 969
974 // Notification that the url for the favicon of a site has been determined. 970 // Notification that the url for the favicon of a site has been determined.
975 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFavIconURL, 971 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFavIconURL,
976 int32 /* page_id */, 972 int32 /* page_id */,
977 GURL /* url of the favicon */) 973 GURL /* url of the favicon */)
978 974
979 // Request that the browser get the text from the selection clipboard and send
980 // it back to the renderer via ViewMsg_SelectionClipboardResponse.
981 IPC_MESSAGE_ROUTED0(ViewHostMsg_PasteFromSelectionClipboard)
982
983 // Used to tell the parent that the user right clicked on an area of the 975 // Used to tell the parent that the user right clicked on an area of the
984 // content area, and a context menu should be shown for it. The params 976 // content area, and a context menu should be shown for it. The params
985 // object contains information about the node(s) that were selected when the 977 // object contains information about the node(s) that were selected when the
986 // user right clicked. 978 // user right clicked.
987 IPC_MESSAGE_ROUTED1(ViewHostMsg_ContextMenu, ContextMenuParams) 979 IPC_MESSAGE_ROUTED1(ViewHostMsg_ContextMenu, ContextMenuParams)
988 980
989 // Request that the given URL be opened in the specified manner. 981 // Request that the given URL be opened in the specified manner.
990 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenURL, 982 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenURL,
991 GURL /* url */, 983 GURL /* url */,
992 GURL /* referrer */, 984 GURL /* referrer */,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 // Clipboard IPC messages 1037 // Clipboard IPC messages
1046 1038
1047 // This message is used when the object list does not contain a bitmap. 1039 // This message is used when the object list does not contain a bitmap.
1048 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteObjectsAsync, 1040 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteObjectsAsync,
1049 Clipboard::ObjectMap /* objects */) 1041 Clipboard::ObjectMap /* objects */)
1050 // This message is used when the object list contains a bitmap. 1042 // This message is used when the object list contains a bitmap.
1051 // It is synchronized so that the renderer knows when it is safe to 1043 // It is synchronized so that the renderer knows when it is safe to
1052 // free the shared memory used to transfer the bitmap. 1044 // free the shared memory used to transfer the bitmap.
1053 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_ClipboardWriteObjectsSync, 1045 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_ClipboardWriteObjectsSync,
1054 Clipboard::ObjectMap /* objects */) 1046 Clipboard::ObjectMap /* objects */)
1055 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_ClipboardIsFormatAvailable, 1047 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_ClipboardIsFormatAvailable,
1056 std::string /* format */, 1048 std::string /* format */,
1049 Clipboard::Buffer /* buffer */,
1057 bool /* result */) 1050 bool /* result */)
1058 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_ClipboardReadText, 1051 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_ClipboardReadText,
1052 Clipboard::Buffer /* buffer */,
1059 string16 /* result */) 1053 string16 /* result */)
1060 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_ClipboardReadAsciiText, 1054 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_ClipboardReadAsciiText,
1055 Clipboard::Buffer /* buffer */,
1061 std::string /* result */) 1056 std::string /* result */)
1062 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_ClipboardReadHTML, 1057 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ClipboardReadHTML,
1058 Clipboard::Buffer /* buffer */,
1063 string16 /* markup */, 1059 string16 /* markup */,
1064 GURL /* url */) 1060 GURL /* url */)
1065 1061
1066 #if defined(OS_WIN) 1062 #if defined(OS_WIN)
1067 // Request that the given font be loaded by the browser. 1063 // Request that the given font be loaded by the browser.
1068 // Please see ResourceMessageFilter::OnLoadFont for details. 1064 // Please see ResourceMessageFilter::OnLoadFont for details.
1069 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_LoadFont, 1065 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_LoadFont,
1070 LOGFONT /* font data */) 1066 LOGFONT /* font data */)
1071 #endif // defined(OS_WIN) 1067 #endif // defined(OS_WIN)
1072 1068
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
1705 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, 1701 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes,
1706 FilePath /* the name of the file */, 1702 FilePath /* the name of the file */,
1707 int32 /* a unique message ID */) 1703 int32 /* a unique message ID */)
1708 1704
1709 // Asks the browser process to return the size of a DB file 1705 // Asks the browser process to return the size of a DB file
1710 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, 1706 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize,
1711 FilePath /* the name of the file */, 1707 FilePath /* the name of the file */,
1712 int32 /* a unique message ID */) 1708 int32 /* a unique message ID */)
1713 1709
1714 IPC_END_MESSAGES(ViewHost) 1710 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698