| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 IPC_ENUM_TRAITS(WindowContainerType) | 78 IPC_ENUM_TRAITS(WindowContainerType) |
| 79 IPC_ENUM_TRAITS(content::FaviconURL::IconType) | 79 IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
| 80 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) | 80 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
| 81 IPC_ENUM_TRAITS(content::MenuItem::Type) | 81 IPC_ENUM_TRAITS(content::MenuItem::Type) |
| 82 IPC_ENUM_TRAITS(content::NavigationGesture) | 82 IPC_ENUM_TRAITS(content::NavigationGesture) |
| 83 IPC_ENUM_TRAITS(content::PageZoom) | 83 IPC_ENUM_TRAITS(content::PageZoom) |
| 84 IPC_ENUM_TRAITS(gfx::FontRenderParams::Hinting) | 84 IPC_ENUM_TRAITS(gfx::FontRenderParams::Hinting) |
| 85 IPC_ENUM_TRAITS(gfx::FontRenderParams::SubpixelRendering) | 85 IPC_ENUM_TRAITS(gfx::FontRenderParams::SubpixelRendering) |
| 86 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, | 86 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, |
| 87 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) | 87 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) |
| 88 IPC_ENUM_TRAITS(content::StopFindAction) | 88 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction, |
| 89 IPC_ENUM_TRAITS(content::ThreeDAPIType) | 89 content::STOP_FIND_ACTION_LAST) |
| 90 IPC_ENUM_TRAITS_MAX_VALUE(content::ThreeDAPIType, |
| 91 content::THREE_D_API_TYPE_LAST) |
| 90 IPC_ENUM_TRAITS_MAX_VALUE(media::ChannelLayout, media::CHANNEL_LAYOUT_MAX - 1) | 92 IPC_ENUM_TRAITS_MAX_VALUE(media::ChannelLayout, media::CHANNEL_LAYOUT_MAX - 1) |
| 91 IPC_ENUM_TRAITS_MAX_VALUE(media::MediaLogEvent::Type, | 93 IPC_ENUM_TRAITS_MAX_VALUE(media::MediaLogEvent::Type, |
| 92 media::MediaLogEvent::TYPE_LAST) | 94 media::MediaLogEvent::TYPE_LAST) |
| 93 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) | 95 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) |
| 94 IPC_ENUM_TRAITS(ui::TextInputType) | 96 IPC_ENUM_TRAITS(ui::TextInputType) |
| 95 | 97 |
| 96 #if defined(OS_MACOSX) | 98 #if defined(OS_MACOSX) |
| 97 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) | 99 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) |
| 98 IPC_STRUCT_TRAITS_MEMBER(font_name) | 100 IPC_STRUCT_TRAITS_MEMBER(font_name) |
| 99 IPC_STRUCT_TRAITS_MEMBER(font_point_size) | 101 IPC_STRUCT_TRAITS_MEMBER(font_point_size) |
| (...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1630 // Since the browser keeps handles to the allocated transport DIBs, this | 1632 // 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 | 1633 // message is sent to tell the browser that it may release them when the |
| 1632 // renderer is finished with them. | 1634 // renderer is finished with them. |
| 1633 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1635 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 1634 TransportDIB::Id /* DIB id */) | 1636 TransportDIB::Id /* DIB id */) |
| 1635 #endif | 1637 #endif |
| 1636 | 1638 |
| 1637 // Adding a new message? Stick to the sort order above: first platform | 1639 // Adding a new message? Stick to the sort order above: first platform |
| 1638 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1640 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1639 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1641 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |