OLD | NEW |
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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1278 // process to release the magnified image. | 1278 // process to release the magnified image. |
1279 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, | 1279 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, |
1280 TransportDIB::Handle /* DIB handle */) | 1280 TransportDIB::Handle /* DIB handle */) |
1281 | 1281 |
1282 // Notifies the renderer that a snapshot has been retrieved. | 1282 // Notifies the renderer that a snapshot has been retrieved. |
1283 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, | 1283 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, |
1284 int /* snapshot_id */, | 1284 int /* snapshot_id */, |
1285 gfx::Size /* size */, | 1285 gfx::Size /* size */, |
1286 std::vector<unsigned char> /* png */) | 1286 std::vector<unsigned char> /* png */) |
1287 | 1287 |
| 1288 #if defined(OS_ANDROID) |
1288 // Tells the renderer to suspend/resume the webkit timers. | 1289 // Tells the renderer to suspend/resume the webkit timers. |
1289 IPC_MESSAGE_CONTROL1(ViewMsg_SetWebKitSharedTimersSuspended, | 1290 IPC_MESSAGE_CONTROL1(ViewMsg_SetWebKitSharedTimersSuspended, |
1290 bool /* suspend */) | 1291 bool /* suspend */) |
| 1292 #endif |
| 1293 |
| 1294 #if defined(OS_MACOSX) |
| 1295 // Notification of a change in scrollbar appearance and/or behavior. |
| 1296 IPC_MESSAGE_CONTROL4(ViewMsg_UpdateScrollbarTheme, |
| 1297 float /* initial_button_delay */, |
| 1298 float /* autoscroll_button_delay */, |
| 1299 bool /* jump_on_track_click */, |
| 1300 bool /* redraw */) |
| 1301 #endif |
1291 | 1302 |
1292 #if defined(OS_ANDROID) | 1303 #if defined(OS_ANDROID) |
1293 // Sent when the browser wants the bounding boxes of the current find matches. | 1304 // Sent when the browser wants the bounding boxes of the current find matches. |
1294 // | 1305 // |
1295 // If match rects are already cached on the browser side, |current_version| | 1306 // If match rects are already cached on the browser side, |current_version| |
1296 // should be the version number from the ViewHostMsg_FindMatchRects_Reply | 1307 // should be the version number from the ViewHostMsg_FindMatchRects_Reply |
1297 // they came in, so the renderer can tell if it needs to send updated rects. | 1308 // they came in, so the renderer can tell if it needs to send updated rects. |
1298 // Otherwise just pass -1 to always receive the list of rects. | 1309 // Otherwise just pass -1 to always receive the list of rects. |
1299 // | 1310 // |
1300 // There must be an active search string (it is probably most useful to call | 1311 // There must be an active search string (it is probably most useful to call |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2365 // synchronously (see crbug.com/120597). This IPC message sends the character | 2376 // synchronously (see crbug.com/120597). This IPC message sends the character |
2366 // bounds after every composition change to always have correct bound info. | 2377 // bounds after every composition change to always have correct bound info. |
2367 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2378 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2368 gfx::Range /* composition range */, | 2379 gfx::Range /* composition range */, |
2369 std::vector<gfx::Rect> /* character bounds */) | 2380 std::vector<gfx::Rect> /* character bounds */) |
2370 #endif | 2381 #endif |
2371 | 2382 |
2372 // Adding a new message? Stick to the sort order above: first platform | 2383 // Adding a new message? Stick to the sort order above: first platform |
2373 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2384 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2374 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2385 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |