| 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1818 bool /* out - success */, | 1818 bool /* out - success */, |
| 1819 string16 /* out - user_input field */) | 1819 string16 /* out - user_input field */) |
| 1820 | 1820 |
| 1821 // Requests that the given URL be opened in the specified manner. | 1821 // Requests that the given URL be opened in the specified manner. |
| 1822 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenURL, ViewHostMsg_OpenURL_Params) | 1822 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenURL, ViewHostMsg_OpenURL_Params) |
| 1823 | 1823 |
| 1824 // Notifies that the preferred size of the content changed. | 1824 // Notifies that the preferred size of the content changed. |
| 1825 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, | 1825 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, |
| 1826 gfx::Size /* pref_size */) | 1826 gfx::Size /* pref_size */) |
| 1827 | 1827 |
| 1828 // Notifies that the scroll offset changed. |
| 1829 // This is different from ViewHostMsg_UpdateRect in that ViewHostMsg_UpdateRect |
| 1830 // is not sent at all when threaded compositing is enabled while |
| 1831 // ViewHostMsg_DidChangeScrollOffset works properly in this case. |
| 1832 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidChangeScrollOffset) |
| 1833 |
| 1828 // Notifies that the scrollbars-visible state of the content changed. | 1834 // Notifies that the scrollbars-visible state of the content changed. |
| 1829 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, | 1835 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, |
| 1830 bool /* has_horizontal_scrollbar */, | 1836 bool /* has_horizontal_scrollbar */, |
| 1831 bool /* has_vertical_scrollbar */) | 1837 bool /* has_vertical_scrollbar */) |
| 1832 | 1838 |
| 1833 // Notifies that the pinned-to-side state of the content changed. | 1839 // Notifies that the pinned-to-side state of the content changed. |
| 1834 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, | 1840 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, |
| 1835 bool /* pinned_to_left */, | 1841 bool /* pinned_to_left */, |
| 1836 bool /* pinned_to_right */) | 1842 bool /* pinned_to_right */) |
| 1837 | 1843 |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2374 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2380 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2375 // for details. | 2381 // for details. |
| 2376 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2382 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2377 LOGFONT /* font_data */, | 2383 LOGFONT /* font_data */, |
| 2378 string16 /* characters */) | 2384 string16 /* characters */) |
| 2379 #endif | 2385 #endif |
| 2380 | 2386 |
| 2381 // Notifies the browser that the frame with the given id was detached. | 2387 // Notifies the browser that the frame with the given id was detached. |
| 2382 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, | 2388 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, |
| 2383 int64 /* frame_id */) | 2389 int64 /* frame_id */) |
| OLD | NEW |