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 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1509 | 1509 |
1510 // Message sent from the renderer to the browser when a HTML form validation | 1510 // Message sent from the renderer to the browser when a HTML form validation |
1511 // message should be hidden from view. | 1511 // message should be hidden from view. |
1512 IPC_MESSAGE_ROUTED0(ViewHostMsg_HideValidationMessage) | 1512 IPC_MESSAGE_ROUTED0(ViewHostMsg_HideValidationMessage) |
1513 | 1513 |
1514 // Message sent from the renderer to the browser when the suggested co-ordinates | 1514 // Message sent from the renderer to the browser when the suggested co-ordinates |
1515 // of the anchor for a HTML form validation message have changed. | 1515 // of the anchor for a HTML form validation message have changed. |
1516 IPC_MESSAGE_ROUTED1(ViewHostMsg_MoveValidationMessage, | 1516 IPC_MESSAGE_ROUTED1(ViewHostMsg_MoveValidationMessage, |
1517 gfx::Rect /* anchor rectangle in root view coordinate */) | 1517 gfx::Rect /* anchor rectangle in root view coordinate */) |
1518 | 1518 |
| 1519 // Sent once a paint happens after the first non empty layout. In other words, |
| 1520 // after the frame widget has painted something. |
| 1521 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 1522 |
1519 #if defined(OS_ANDROID) | 1523 #if defined(OS_ANDROID) |
1520 // Response to ViewMsg_FindMatchRects. | 1524 // Response to ViewMsg_FindMatchRects. |
1521 // | 1525 // |
1522 // |version| will contain the current version number of the renderer's find | 1526 // |version| will contain the current version number of the renderer's find |
1523 // match list (incremented whenever they change), which should be passed in the | 1527 // match list (incremented whenever they change), which should be passed in the |
1524 // next call to ViewMsg_FindMatchRects. | 1528 // next call to ViewMsg_FindMatchRects. |
1525 // | 1529 // |
1526 // |rects| will either contain a list of the enclosing rects of all matches | 1530 // |rects| will either contain a list of the enclosing rects of all matches |
1527 // found by the most recent Find operation, or will be empty if |version| is not | 1531 // found by the most recent Find operation, or will be empty if |version| is not |
1528 // greater than the |current_version| passed to ViewMsg_FindMatchRects (hence | 1532 // greater than the |current_version| passed to ViewMsg_FindMatchRects (hence |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1587 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1591 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1588 // for details. | 1592 // for details. |
1589 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1593 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1590 LOGFONT /* font_data */, | 1594 LOGFONT /* font_data */, |
1591 base::string16 /* characters */) | 1595 base::string16 /* characters */) |
1592 #endif | 1596 #endif |
1593 | 1597 |
1594 // Adding a new message? Stick to the sort order above: first platform | 1598 // Adding a new message? Stick to the sort order above: first platform |
1595 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1599 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1596 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1600 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |