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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, | 653 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, |
654 int /* request_id */, | 654 int /* request_id */, |
655 std::vector<base::FilePath> /* files_in_directory */) | 655 std::vector<base::FilePath> /* files_in_directory */) |
656 | 656 |
657 // Instructs the renderer to close the current page, including running the | 657 // Instructs the renderer to close the current page, including running the |
658 // onunload event handler. | 658 // onunload event handler. |
659 // | 659 // |
660 // Expects a ClosePage_ACK message when finished. | 660 // Expects a ClosePage_ACK message when finished. |
661 IPC_MESSAGE_ROUTED0(ViewMsg_ClosePage) | 661 IPC_MESSAGE_ROUTED0(ViewMsg_ClosePage) |
662 | 662 |
663 // Notifies the renderer about ui theme changes | |
664 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) | |
665 | |
666 // Notifies the renderer that a paint is to be generated for the rectangle | 663 // Notifies the renderer that a paint is to be generated for the rectangle |
667 // passed in. | 664 // passed in. |
668 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, | 665 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, |
669 gfx::Size /* The view size to be repainted */) | 666 gfx::Size /* The view size to be repainted */) |
670 | 667 |
671 // Notification that a move or resize renderer's containing window has | 668 // Notification that a move or resize renderer's containing window has |
672 // started. | 669 // started. |
673 IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted) | 670 IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted) |
674 | 671 |
675 IPC_MESSAGE_ROUTED2(ViewMsg_UpdateScreenRects, | 672 IPC_MESSAGE_ROUTED2(ViewMsg_UpdateScreenRects, |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1176 int /* y */) | 1173 int /* y */) |
1177 | 1174 |
1178 #elif defined(OS_MACOSX) | 1175 #elif defined(OS_MACOSX) |
1179 // Receives content of a web page as plain text. | 1176 // Receives content of a web page as plain text. |
1180 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1177 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1181 #endif | 1178 #endif |
1182 | 1179 |
1183 // Adding a new message? Stick to the sort order above: first platform | 1180 // Adding a new message? Stick to the sort order above: first platform |
1184 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1181 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1185 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1182 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |