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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, | 814 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, |
815 gfx::Size /* new_size */) | 815 gfx::Size /* new_size */) |
816 | 816 |
817 // Changes the text direction of the currently selected input field (if any). | 817 // Changes the text direction of the currently selected input field (if any). |
818 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 818 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
819 blink::WebTextDirection /* direction */) | 819 blink::WebTextDirection /* direction */) |
820 | 820 |
821 // Tells the renderer to clear the focused element (if any). | 821 // Tells the renderer to clear the focused element (if any). |
822 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement) | 822 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement) |
823 | 823 |
824 // Make the RenderView transparent and render it onto a custom background. The | 824 // Make the RenderView background transparent or opaque. |
825 // background will be tiled in both directions if it is not large enough. | 825 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundOpaque, bool /* opaque */) |
826 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, | |
827 SkBitmap /* background */) | |
828 | 826 |
829 // Used to tell the renderer not to add scrollbars with height and | 827 // Used to tell the renderer not to add scrollbars with height and |
830 // width below a threshold. | 828 // width below a threshold. |
831 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, | 829 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, |
832 gfx::Size /* disable_scrollbar_size_limit */) | 830 gfx::Size /* disable_scrollbar_size_limit */) |
833 | 831 |
834 // Activate/deactivate the RenderView (i.e., set its controls' tint | 832 // Activate/deactivate the RenderView (i.e., set its controls' tint |
835 // accordingly, etc.). | 833 // accordingly, etc.). |
836 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive, | 834 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive, |
837 bool /* active */) | 835 bool /* active */) |
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1764 // synchronously (see crbug.com/120597). This IPC message sends the character | 1762 // synchronously (see crbug.com/120597). This IPC message sends the character |
1765 // bounds after every composition change to always have correct bound info. | 1763 // bounds after every composition change to always have correct bound info. |
1766 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1764 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1767 gfx::Range /* composition range */, | 1765 gfx::Range /* composition range */, |
1768 std::vector<gfx::Rect> /* character bounds */) | 1766 std::vector<gfx::Rect> /* character bounds */) |
1769 #endif | 1767 #endif |
1770 | 1768 |
1771 // Adding a new message? Stick to the sort order above: first platform | 1769 // Adding a new message? Stick to the sort order above: first platform |
1772 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1770 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1773 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1771 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |