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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 // Changes the text direction of the currently selected input field (if any). | 794 // Changes the text direction of the currently selected input field (if any). |
795 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 795 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
796 blink::WebTextDirection /* direction */) | 796 blink::WebTextDirection /* direction */) |
797 | 797 |
798 // Tells the renderer to clear the focused element (if any). | 798 // Tells the renderer to clear the focused element (if any). |
799 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement) | 799 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement) |
800 | 800 |
801 // Make the RenderView background transparent or opaque. | 801 // Make the RenderView background transparent or opaque. |
802 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundOpaque, bool /* opaque */) | 802 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundOpaque, bool /* opaque */) |
803 | 803 |
| 804 // Change the RenderView background color. |
| 805 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundColor, uint32_t /* SKcolorARGB */) |
| 806 |
804 // Used to tell the renderer not to add scrollbars with height and | 807 // Used to tell the renderer not to add scrollbars with height and |
805 // width below a threshold. | 808 // width below a threshold. |
806 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, | 809 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, |
807 gfx::Size /* disable_scrollbar_size_limit */) | 810 gfx::Size /* disable_scrollbar_size_limit */) |
808 | 811 |
809 // Activate/deactivate the RenderView (i.e., set its controls' tint | 812 // Activate/deactivate the RenderView (i.e., set its controls' tint |
810 // accordingly, etc.). | 813 // accordingly, etc.). |
811 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive, | 814 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive, |
812 bool /* active */) | 815 bool /* active */) |
813 | 816 |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 // Instructs the browser to start plugin IME. | 1339 // Instructs the browser to start plugin IME. |
1337 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1340 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
1338 | 1341 |
1339 // Receives content of a web page as plain text. | 1342 // Receives content of a web page as plain text. |
1340 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1343 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1341 #endif | 1344 #endif |
1342 | 1345 |
1343 // Adding a new message? Stick to the sort order above: first platform | 1346 // Adding a new message? Stick to the sort order above: first platform |
1344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1347 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1348 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |