| 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 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, | 803 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, |
| 804 gfx::Size /* new_size */) | 804 gfx::Size /* new_size */) |
| 805 | 805 |
| 806 // Changes the text direction of the currently selected input field (if any). | 806 // Changes the text direction of the currently selected input field (if any). |
| 807 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 807 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
| 808 blink::WebTextDirection /* direction */) | 808 blink::WebTextDirection /* direction */) |
| 809 | 809 |
| 810 // Tells the renderer to clear the focused element (if any). | 810 // Tells the renderer to clear the focused element (if any). |
| 811 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement) | 811 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement) |
| 812 | 812 |
| 813 // Tells the renderer that the browser has completed the asynchronous focus |
| 814 // change operations (e.g. animations) in response to focus change. |
| 815 IPC_MESSAGE_ROUTED0(ViewMsg_FocusChangeComplete) |
| 816 |
| 813 // Make the RenderView background transparent or opaque. | 817 // Make the RenderView background transparent or opaque. |
| 814 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundOpaque, bool /* opaque */) | 818 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundOpaque, bool /* opaque */) |
| 815 | 819 |
| 816 // Used to tell the renderer not to add scrollbars with height and | 820 // Used to tell the renderer not to add scrollbars with height and |
| 817 // width below a threshold. | 821 // width below a threshold. |
| 818 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, | 822 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, |
| 819 gfx::Size /* disable_scrollbar_size_limit */) | 823 gfx::Size /* disable_scrollbar_size_limit */) |
| 820 | 824 |
| 821 // Activate/deactivate the RenderView (i.e., set its controls' tint | 825 // Activate/deactivate the RenderView (i.e., set its controls' tint |
| 822 // accordingly, etc.). | 826 // accordingly, etc.). |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1638 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1642 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1639 // for details. | 1643 // for details. |
| 1640 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1644 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1641 LOGFONT /* font_data */, | 1645 LOGFONT /* font_data */, |
| 1642 base::string16 /* characters */) | 1646 base::string16 /* characters */) |
| 1643 #endif | 1647 #endif |
| 1644 | 1648 |
| 1645 // Adding a new message? Stick to the sort order above: first platform | 1649 // Adding a new message? Stick to the sort order above: first platform |
| 1646 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1650 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1647 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1651 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |