| 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 21 matching lines...) Expand all Loading... |
| 32 #include "content/public/common/stop_find_action.h" | 32 #include "content/public/common/stop_find_action.h" |
| 33 #include "content/public/common/three_d_api_types.h" | 33 #include "content/public/common/three_d_api_types.h" |
| 34 #include "content/public/common/window_container_type.h" | 34 #include "content/public/common/window_container_type.h" |
| 35 #include "ipc/ipc_channel_handle.h" | 35 #include "ipc/ipc_channel_handle.h" |
| 36 #include "ipc/ipc_message_macros.h" | 36 #include "ipc/ipc_message_macros.h" |
| 37 #include "ipc/ipc_platform_file.h" | 37 #include "ipc/ipc_platform_file.h" |
| 38 #include "media/audio/audio_parameters.h" | 38 #include "media/audio/audio_parameters.h" |
| 39 #include "media/base/channel_layout.h" | 39 #include "media/base/channel_layout.h" |
| 40 #include "media/base/media_log_event.h" | 40 #include "media/base/media_log_event.h" |
| 41 #include "net/base/network_change_notifier.h" | 41 #include "net/base/network_change_notifier.h" |
| 42 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
| 42 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 43 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 43 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 44 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
| 44 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | 45 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
| 45 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" | 46 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" |
| 46 #include "third_party/WebKit/public/web/WebFindOptions.h" | 47 #include "third_party/WebKit/public/web/WebFindOptions.h" |
| 47 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" | 48 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" |
| 48 #include "third_party/WebKit/public/web/WebPluginAction.h" | 49 #include "third_party/WebKit/public/web/WebPluginAction.h" |
| 49 #include "third_party/WebKit/public/web/WebPopupType.h" | 50 #include "third_party/WebKit/public/web/WebPopupType.h" |
| 50 #include "third_party/WebKit/public/web/WebTextDirection.h" | 51 #include "third_party/WebKit/public/web/WebTextDirection.h" |
| 51 #include "third_party/skia/include/core/SkBitmap.h" | 52 #include "third_party/skia/include/core/SkBitmap.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 77 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDeviceEmulationParams::ScreenPosition, | 78 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDeviceEmulationParams::ScreenPosition, |
| 78 blink::WebDeviceEmulationParams::ScreenPositionLast) | 79 blink::WebDeviceEmulationParams::ScreenPositionLast) |
| 79 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMediaPlayerAction::Type, | 80 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMediaPlayerAction::Type, |
| 80 blink::WebMediaPlayerAction::Type::TypeLast) | 81 blink::WebMediaPlayerAction::Type::TypeLast) |
| 81 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPluginAction::Type, | 82 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPluginAction::Type, |
| 82 blink::WebPluginAction::Type::TypeLast) | 83 blink::WebPluginAction::Type::TypeLast) |
| 83 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPopupType, | 84 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPopupType, |
| 84 blink::WebPopupType::WebPopupTypeLast) | 85 blink::WebPopupType::WebPopupTypeLast) |
| 85 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTextDirection, | 86 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTextDirection, |
| 86 blink::WebTextDirection::WebTextDirectionLast) | 87 blink::WebTextDirection::WebTextDirectionLast) |
| 88 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDisplayMode, |
| 89 blink::WebDisplayMode::WebDisplayModeLast) |
| 87 IPC_ENUM_TRAITS(WindowContainerType) | 90 IPC_ENUM_TRAITS(WindowContainerType) |
| 88 IPC_ENUM_TRAITS(content::FaviconURL::IconType) | 91 IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
| 89 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) | 92 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
| 90 IPC_ENUM_TRAITS(content::MenuItem::Type) | 93 IPC_ENUM_TRAITS(content::MenuItem::Type) |
| 91 IPC_ENUM_TRAITS_MAX_VALUE(content::NavigationGesture, | 94 IPC_ENUM_TRAITS_MAX_VALUE(content::NavigationGesture, |
| 92 content::NavigationGestureLast) | 95 content::NavigationGestureLast) |
| 93 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PageZoom, | 96 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PageZoom, |
| 94 content::PageZoom::PAGE_ZOOM_OUT, | 97 content::PageZoom::PAGE_ZOOM_OUT, |
| 95 content::PageZoom::PAGE_ZOOM_IN) | 98 content::PageZoom::PAGE_ZOOM_IN) |
| 96 IPC_ENUM_TRAITS(gfx::FontRenderParams::Hinting) | 99 IPC_ENUM_TRAITS(gfx::FontRenderParams::Hinting) |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 // isn't supported). | 468 // isn't supported). |
| 466 IPC_STRUCT_MEMBER(float, top_controls_height) | 469 IPC_STRUCT_MEMBER(float, top_controls_height) |
| 467 // The size of the visible viewport, which may be smaller than the view if the | 470 // The size of the visible viewport, which may be smaller than the view if the |
| 468 // view is partially occluded (e.g. by a virtual keyboard). The size is in | 471 // view is partially occluded (e.g. by a virtual keyboard). The size is in |
| 469 // DPI-adjusted pixels. | 472 // DPI-adjusted pixels. |
| 470 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) | 473 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) |
| 471 // The resizer rect. | 474 // The resizer rect. |
| 472 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | 475 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
| 473 // Indicates whether tab-initiated fullscreen was granted. | 476 // Indicates whether tab-initiated fullscreen was granted. |
| 474 IPC_STRUCT_MEMBER(bool, is_fullscreen_granted) | 477 IPC_STRUCT_MEMBER(bool, is_fullscreen_granted) |
| 478 // The display mode. |
| 479 IPC_STRUCT_MEMBER(blink::WebDisplayMode, display_mode) |
| 475 // If set, requests the renderer to reply with a ViewHostMsg_UpdateRect | 480 // If set, requests the renderer to reply with a ViewHostMsg_UpdateRect |
| 476 // with the ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK bit set in flags. | 481 // with the ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK bit set in flags. |
| 477 IPC_STRUCT_MEMBER(bool, needs_resize_ack) | 482 IPC_STRUCT_MEMBER(bool, needs_resize_ack) |
| 478 IPC_STRUCT_END() | 483 IPC_STRUCT_END() |
| 479 | 484 |
| 480 IPC_STRUCT_BEGIN(ViewMsg_New_Params) | 485 IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
| 481 // Renderer-wide preferences. | 486 // Renderer-wide preferences. |
| 482 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) | 487 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) |
| 483 | 488 |
| 484 // Preferences for this view. | 489 // Preferences for this view. |
| (...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1648 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1653 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1649 // for details. | 1654 // for details. |
| 1650 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1655 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1651 LOGFONT /* font_data */, | 1656 LOGFONT /* font_data */, |
| 1652 base::string16 /* characters */) | 1657 base::string16 /* characters */) |
| 1653 #endif | 1658 #endif |
| 1654 | 1659 |
| 1655 // Adding a new message? Stick to the sort order above: first platform | 1660 // Adding a new message? Stick to the sort order above: first platform |
| 1656 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1661 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1657 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1662 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |