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. | |
Charlie Reis
2015/09/30 20:36:19
nit: Sent
Also, we shouldn't really be adding new
kenrb
2015/09/30 21:25:02
Done. Bug 537793 filed for that.
| |
1337 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad) | |
1338 | |
1336 #if defined(OS_ANDROID) | 1339 #if defined(OS_ANDROID) |
1337 // Response to ViewMsg_FindMatchRects. | 1340 // Response to ViewMsg_FindMatchRects. |
1338 // | 1341 // |
1339 // |version| will contain the current version number of the renderer's find | 1342 // |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 | 1343 // match list (incremented whenever they change), which should be passed in the |
1341 // next call to ViewMsg_FindMatchRects. | 1344 // next call to ViewMsg_FindMatchRects. |
1342 // | 1345 // |
1343 // |rects| will either contain a list of the enclosing rects of all matches | 1346 // |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 | 1347 // 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 | 1348 // 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. | 1388 // Instructs the browser to start plugin IME. |
1386 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1389 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
1387 | 1390 |
1388 // Receives content of a web page as plain text. | 1391 // Receives content of a web page as plain text. |
1389 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); | 1392 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); |
1390 #endif | 1393 #endif |
1391 | 1394 |
1392 // Adding a new message? Stick to the sort order above: first platform | 1395 // Adding a new message? Stick to the sort order above: first platform |
1393 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1396 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1394 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1397 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |