| 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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 | 918 |
| 919 // Temporary message to diagnose an unexpected condition in WebContentsImpl. | 919 // Temporary message to diagnose an unexpected condition in WebContentsImpl. |
| 920 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, | 920 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, |
| 921 GURL /* data */) | 921 GURL /* data */) |
| 922 | 922 |
| 923 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer | 923 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer |
| 924 // process to release the magnified image. | 924 // process to release the magnified image. |
| 925 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, | 925 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, |
| 926 cc::SharedBitmapId /* id */) | 926 cc::SharedBitmapId /* id */) |
| 927 | 927 |
| 928 // Notifies the renderer that a snapshot has been retrieved. | |
| 929 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, | |
| 930 int /* snapshot_id */, | |
| 931 gfx::Size /* size */, | |
| 932 std::vector<unsigned char> /* png */) | |
| 933 | |
| 934 // Fetches complete rendered content of a web page as plain text. | 928 // Fetches complete rendered content of a web page as plain text. |
| 935 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) | 929 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) |
| 936 | 930 |
| 937 #if defined(OS_MACOSX) | 931 #if defined(OS_MACOSX) |
| 938 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay) | 932 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay) |
| 939 | 933 |
| 940 // Notification of a change in scrollbar appearance and/or behavior. | 934 // Notification of a change in scrollbar appearance and/or behavior. |
| 941 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, | 935 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, |
| 942 float /* initial_button_delay */, | 936 float /* initial_button_delay */, |
| 943 float /* autoscroll_button_delay */, | 937 float /* autoscroll_button_delay */, |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1685 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1679 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1686 // for details. | 1680 // for details. |
| 1687 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1681 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1688 LOGFONT /* font_data */, | 1682 LOGFONT /* font_data */, |
| 1689 base::string16 /* characters */) | 1683 base::string16 /* characters */) |
| 1690 #endif | 1684 #endif |
| 1691 | 1685 |
| 1692 // Adding a new message? Stick to the sort order above: first platform | 1686 // Adding a new message? Stick to the sort order above: first platform |
| 1693 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1687 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1694 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1688 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |