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 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1326 | 1326 |
1327 // Message sent from the renderer to the browser when the suggested co-ordinates | 1327 // Message sent from the renderer to the browser when the suggested co-ordinates |
1328 // of the anchor for a HTML form validation message have changed. | 1328 // of the anchor for a HTML form validation message have changed. |
1329 IPC_MESSAGE_ROUTED1(ViewHostMsg_MoveValidationMessage, | 1329 IPC_MESSAGE_ROUTED1(ViewHostMsg_MoveValidationMessage, |
1330 gfx::Rect /* anchor rectangle in root view coordinate */) | 1330 gfx::Rect /* anchor rectangle in root view coordinate */) |
1331 | 1331 |
1332 // Sent once a paint happens after the first non empty layout. In other words, | 1332 // Sent once a paint happens after the first non empty layout. In other words, |
1333 // after the frame widget has painted something. | 1333 // after the frame widget has painted something. |
1334 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) | 1334 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) |
1335 | 1335 |
| 1336 // Send after a paint happens after any page commit, including a blank one. |
| 1337 // TODO(kenrb): This, and all ViewHostMsg_* messages that actually pertain to |
| 1338 // RenderWidget(Host), should be renamed to WidgetHostMsg_*. |
| 1339 // See https://crbug.com/537793. |
| 1340 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad) |
| 1341 |
1336 #if defined(OS_ANDROID) | 1342 #if defined(OS_ANDROID) |
1337 // Response to ViewMsg_FindMatchRects. | 1343 // Response to ViewMsg_FindMatchRects. |
1338 // | 1344 // |
1339 // |version| will contain the current version number of the renderer's find | 1345 // |version| will contain the current version number of the renderer's find |
1340 // match list (incremented whenever they change), which should be passed in the | 1346 // match list (incremented whenever they change), which should be passed in the |
1341 // next call to ViewMsg_FindMatchRects. | 1347 // next call to ViewMsg_FindMatchRects. |
1342 // | 1348 // |
1343 // |rects| will either contain a list of the enclosing rects of all matches | 1349 // |rects| will either contain a list of the enclosing rects of all matches |
1344 // found by the most recent Find operation, or will be empty if |version| is not | 1350 // found by the most recent Find operation, or will be empty if |version| is not |
1345 // greater than the |current_version| passed to ViewMsg_FindMatchRects (hence | 1351 // greater than the |current_version| passed to ViewMsg_FindMatchRects (hence |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 // Instructs the browser to start plugin IME. | 1391 // Instructs the browser to start plugin IME. |
1386 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1392 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
1387 | 1393 |
1388 // Receives content of a web page as plain text. | 1394 // Receives content of a web page as plain text. |
1389 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); | 1395 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); |
1390 #endif | 1396 #endif |
1391 | 1397 |
1392 // Adding a new message? Stick to the sort order above: first platform | 1398 // Adding a new message? Stick to the sort order above: first platform |
1393 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1399 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1394 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1400 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |