| 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_Params's scroll_offset in |
| 1830 // that ViewHostMsg_UpdateRect is not sent at all when threaded compositing is |
| 1831 // enabled while ViewHostMsg_DidChangeScrollOffset works properly in this case. |
| 1832 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeScrollOffset, |
| 1833 gfx::Vector2d /* offset */) |
| 1834 |
| 1828 // Notifies that the scrollbars-visible state of the content changed. | 1835 // Notifies that the scrollbars-visible state of the content changed. |
| 1829 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, | 1836 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, |
| 1830 bool /* has_horizontal_scrollbar */, | 1837 bool /* has_horizontal_scrollbar */, |
| 1831 bool /* has_vertical_scrollbar */) | 1838 bool /* has_vertical_scrollbar */) |
| 1832 | 1839 |
| 1833 // Notifies that the pinned-to-side state of the content changed. | 1840 // Notifies that the pinned-to-side state of the content changed. |
| 1834 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, | 1841 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, |
| 1835 bool /* pinned_to_left */, | 1842 bool /* pinned_to_left */, |
| 1836 bool /* pinned_to_right */) | 1843 bool /* pinned_to_right */) |
| 1837 | 1844 |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2365 int /* arb_robustness_status_code */) | 2372 int /* arb_robustness_status_code */) |
| 2366 | 2373 |
| 2367 #if defined(OS_WIN) | 2374 #if defined(OS_WIN) |
| 2368 // Request that the given font characters be loaded by the browser so it's | 2375 // Request that the given font characters be loaded by the browser so it's |
| 2369 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2376 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2370 // for details. | 2377 // for details. |
| 2371 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2378 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2372 LOGFONT /* font_data */, | 2379 LOGFONT /* font_data */, |
| 2373 string16 /* characters */) | 2380 string16 /* characters */) |
| 2374 #endif | 2381 #endif |
| OLD | NEW |