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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 #if defined(ENABLE_PLUGINS) | 65 #if defined(ENABLE_PLUGINS) |
66 #include "content/common/pepper_renderer_instance_data.h" | 66 #include "content/common/pepper_renderer_instance_data.h" |
67 #endif | 67 #endif |
68 | 68 |
69 #undef IPC_MESSAGE_EXPORT | 69 #undef IPC_MESSAGE_EXPORT |
70 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 70 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
71 | 71 |
72 #define IPC_MESSAGE_START ViewMsgStart | 72 #define IPC_MESSAGE_START ViewMsgStart |
73 | 73 |
74 IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type) | 74 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMediaPlayerAction::Type, |
75 IPC_ENUM_TRAITS(blink::WebPluginAction::Type) | 75 blink::WebMediaPlayerAction::Type::TypeLast) |
76 IPC_ENUM_TRAITS(blink::WebPopupType) | 76 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPluginAction::Type, |
77 IPC_ENUM_TRAITS(blink::WebTextDirection) | 77 blink::WebPluginAction::Type::TypeLast) |
| 78 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPopupType, |
| 79 blink::WebPopupType::WebPopupTypeLast) |
| 80 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTextDirection, |
| 81 blink::WebTextDirection::WebTextDirectionLast) |
78 IPC_ENUM_TRAITS(WindowContainerType) | 82 IPC_ENUM_TRAITS(WindowContainerType) |
79 IPC_ENUM_TRAITS(content::FaviconURL::IconType) | 83 IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
80 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) | 84 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
81 IPC_ENUM_TRAITS(content::MenuItem::Type) | 85 IPC_ENUM_TRAITS(content::MenuItem::Type) |
82 IPC_ENUM_TRAITS(content::NavigationGesture) | 86 IPC_ENUM_TRAITS(content::NavigationGesture) |
83 IPC_ENUM_TRAITS(content::PageZoom) | 87 IPC_ENUM_TRAITS(content::PageZoom) |
84 IPC_ENUM_TRAITS(gfx::FontRenderParams::Hinting) | 88 IPC_ENUM_TRAITS(gfx::FontRenderParams::Hinting) |
85 IPC_ENUM_TRAITS(gfx::FontRenderParams::SubpixelRendering) | 89 IPC_ENUM_TRAITS(gfx::FontRenderParams::SubpixelRendering) |
86 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, | 90 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, |
87 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) | 91 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) |
(...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1630 // Since the browser keeps handles to the allocated transport DIBs, this | 1634 // Since the browser keeps handles to the allocated transport DIBs, this |
1631 // message is sent to tell the browser that it may release them when the | 1635 // message is sent to tell the browser that it may release them when the |
1632 // renderer is finished with them. | 1636 // renderer is finished with them. |
1633 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1637 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1634 TransportDIB::Id /* DIB id */) | 1638 TransportDIB::Id /* DIB id */) |
1635 #endif | 1639 #endif |
1636 | 1640 |
1637 // Adding a new message? Stick to the sort order above: first platform | 1641 // Adding a new message? Stick to the sort order above: first platform |
1638 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1642 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1639 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1643 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |