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

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

Issue 150062: [chromium-reviews] Add getLanguage function to tabs extension (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // handle is valid in the context of the renderer. 184 // handle is valid in the context of the renderer.
185 IPC_MESSAGE_CONTROL1(ViewMsg_UserScripts_UpdatedScripts, 185 IPC_MESSAGE_CONTROL1(ViewMsg_UserScripts_UpdatedScripts,
186 base::SharedMemoryHandle) 186 base::SharedMemoryHandle)
187 187
188 // Sent when the user wants to search for a word on the page (find in page). 188 // Sent when the user wants to search for a word on the page (find in page).
189 IPC_MESSAGE_ROUTED3(ViewMsg_Find, 189 IPC_MESSAGE_ROUTED3(ViewMsg_Find,
190 int /* request_id */, 190 int /* request_id */,
191 string16 /* search_text */, 191 string16 /* search_text */,
192 WebKit::WebFindOptions) 192 WebKit::WebFindOptions)
193 193
194 // Send from the browser to the rendered to get the text content of the page.
195 IPC_MESSAGE_ROUTED0(ViewMsg_DeterminePageText)
196
197 // Send from the renderer to the browser to return the text content of the
198 // page.
199 IPC_MESSAGE_ROUTED1(ViewMsg_DeterminePageText_Reply,
200 std::wstring /* the language */)
201
194 // Sent when the headers are available for a resource request. 202 // Sent when the headers are available for a resource request.
195 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse, 203 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse,
196 int /* request_id */, 204 int /* request_id */,
197 ResourceResponseHead) 205 ResourceResponseHead)
198 206
199 // Sent as download progress is being made, size of the resource may be 207 // Sent as download progress is being made, size of the resource may be
200 // unknown, in that case |size| is -1. 208 // unknown, in that case |size| is -1.
201 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress, 209 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress,
202 int /* request_id */, 210 int /* request_id */,
203 int64 /* position */, 211 int64 /* position */,
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 // web resource. |error_message| is a user-readable explanation of what 1480 // web resource. |error_message| is a user-readable explanation of what
1473 // went wrong. 1481 // went wrong.
1474 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, 1482 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed,
1475 std::string /* error_message, if any */) 1483 std::string /* error_message, if any */)
1476 1484
1477 // Sent by the renderer process to acknowledge receipt of a 1485 // Sent by the renderer process to acknowledge receipt of a
1478 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. 1486 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame.
1479 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) 1487 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted)
1480 1488
1481 IPC_END_MESSAGES(ViewHost) 1489 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698