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 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 // This is different from ViewHostMsg_UpdateRect in that ViewHostMsg_UpdateRect | 1280 // This is different from ViewHostMsg_UpdateRect in that ViewHostMsg_UpdateRect |
1281 // is not sent at all when threaded compositing is enabled while | 1281 // is not sent at all when threaded compositing is enabled while |
1282 // ViewHostMsg_DidChangeScrollOffset works properly in this case. | 1282 // ViewHostMsg_DidChangeScrollOffset works properly in this case. |
1283 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidChangeScrollOffset) | 1283 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidChangeScrollOffset) |
1284 | 1284 |
1285 // Notifies that the pinned-to-side state of the content changed. | 1285 // Notifies that the pinned-to-side state of the content changed. |
1286 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, | 1286 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, |
1287 bool /* pinned_to_left */, | 1287 bool /* pinned_to_left */, |
1288 bool /* pinned_to_right */) | 1288 bool /* pinned_to_right */) |
1289 | 1289 |
1290 // Notifies that the number of JavaScript scroll handlers changed. | |
1291 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumWheelEvents, | |
1292 int /* count */) | |
1293 | |
1294 // Notifies whether there are JavaScript touch event handlers or not. | 1290 // Notifies whether there are JavaScript touch event handlers or not. |
1295 IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, | 1291 IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, |
1296 bool /* has_handlers */) | 1292 bool /* has_handlers */) |
1297 | 1293 |
1298 // A message from HTML-based UI. When (trusted) Javascript calls | 1294 // A message from HTML-based UI. When (trusted) Javascript calls |
1299 // send(message, args), this message is sent to the browser. | 1295 // send(message, args), this message is sent to the browser. |
1300 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, | 1296 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
1301 GURL /* source_url */, | 1297 GURL /* source_url */, |
1302 std::string /* message */, | 1298 std::string /* message */, |
1303 base::ListValue /* args */) | 1299 base::ListValue /* args */) |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 // synchronously (see crbug.com/120597). This IPC message sends the character | 1719 // synchronously (see crbug.com/120597). This IPC message sends the character |
1724 // bounds after every composition change to always have correct bound info. | 1720 // bounds after every composition change to always have correct bound info. |
1725 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1721 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1726 gfx::Range /* composition range */, | 1722 gfx::Range /* composition range */, |
1727 std::vector<gfx::Rect> /* character bounds */) | 1723 std::vector<gfx::Rect> /* character bounds */) |
1728 #endif | 1724 #endif |
1729 | 1725 |
1730 // Adding a new message? Stick to the sort order above: first platform | 1726 // Adding a new message? Stick to the sort order above: first platform |
1731 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1727 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1732 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1728 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |