Chromium Code Reviews| 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 1808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1819 bool /* out - success */, | 1819 bool /* out - success */, |
| 1820 string16 /* out - user_input field */) | 1820 string16 /* out - user_input field */) |
| 1821 | 1821 |
| 1822 // Requests that the given URL be opened in the specified manner. | 1822 // Requests that the given URL be opened in the specified manner. |
| 1823 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenURL, ViewHostMsg_OpenURL_Params) | 1823 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenURL, ViewHostMsg_OpenURL_Params) |
| 1824 | 1824 |
| 1825 // Notifies that the preferred size of the content changed. | 1825 // Notifies that the preferred size of the content changed. |
| 1826 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, | 1826 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, |
| 1827 gfx::Size /* pref_size */) | 1827 gfx::Size /* pref_size */) |
| 1828 | 1828 |
| 1829 // Notifies that the scroll offset changed. | |
| 1830 // This is different from ViewHostMsg_UpdateRect_Params's scroll_offset in | |
| 1831 // that ViewHostMsg_UpdateRect is not sent at all when threaded compositing is | |
| 1832 // enabled while ViewHostMsg_DidChangeScrollOffset works properly in this case. | |
| 1833 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeScrollOffset, | |
| 1834 gfx::Vector2d /* offset */) | |
|
jln (very slow on Chromium)
2013/01/22 23:54:21
Do you think you'll ever need to process offset ?
| |
| 1835 | |
| 1829 // Notifies that the scrollbars-visible state of the content changed. | 1836 // Notifies that the scrollbars-visible state of the content changed. |
| 1830 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, | 1837 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, |
| 1831 bool /* has_horizontal_scrollbar */, | 1838 bool /* has_horizontal_scrollbar */, |
| 1832 bool /* has_vertical_scrollbar */) | 1839 bool /* has_vertical_scrollbar */) |
| 1833 | 1840 |
| 1834 // Notifies that the pinned-to-side state of the content changed. | 1841 // Notifies that the pinned-to-side state of the content changed. |
| 1835 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, | 1842 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, |
| 1836 bool /* pinned_to_left */, | 1843 bool /* pinned_to_left */, |
| 1837 bool /* pinned_to_right */) | 1844 bool /* pinned_to_right */) |
| 1838 | 1845 |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2375 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2382 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2376 // for details. | 2383 // for details. |
| 2377 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2384 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2378 LOGFONT /* font_data */, | 2385 LOGFONT /* font_data */, |
| 2379 string16 /* characters */) | 2386 string16 /* characters */) |
| 2380 #endif | 2387 #endif |
| 2381 | 2388 |
| 2382 // Notifies the browser that the frame with the given id was detached. | 2389 // Notifies the browser that the frame with the given id was detached. |
| 2383 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, | 2390 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, |
| 2384 int64 /* frame_id */) | 2391 int64 /* frame_id */) |
| OLD | NEW |