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