| 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 // isn't supported). | 461 // isn't supported). |
| 459 IPC_STRUCT_MEMBER(float, top_controls_height) | 462 IPC_STRUCT_MEMBER(float, top_controls_height) |
| 460 // The size of the visible viewport, which may be smaller than the view if the | 463 // The size of the visible viewport, which may be smaller than the view if the |
| 461 // view is partially occluded (e.g. by a virtual keyboard). The size is in | 464 // view is partially occluded (e.g. by a virtual keyboard). The size is in |
| 462 // DPI-adjusted pixels. | 465 // DPI-adjusted pixels. |
| 463 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) | 466 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) |
| 464 // The resizer rect. | 467 // The resizer rect. |
| 465 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | 468 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
| 466 // Indicates whether a page is fullscreen or not. | 469 // Indicates whether a page is fullscreen or not. |
| 467 IPC_STRUCT_MEMBER(bool, is_fullscreen) | 470 IPC_STRUCT_MEMBER(bool, is_fullscreen) |
| 471 // The display mode. |
| 472 IPC_STRUCT_MEMBER(blink::WebDisplayMode, display_mode) |
| 468 // If set, requests the renderer to reply with a ViewHostMsg_UpdateRect | 473 // If set, requests the renderer to reply with a ViewHostMsg_UpdateRect |
| 469 // with the ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK bit set in flags. | 474 // with the ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK bit set in flags. |
| 470 IPC_STRUCT_MEMBER(bool, needs_resize_ack) | 475 IPC_STRUCT_MEMBER(bool, needs_resize_ack) |
| 471 IPC_STRUCT_END() | 476 IPC_STRUCT_END() |
| 472 | 477 |
| 473 IPC_STRUCT_BEGIN(ViewMsg_New_Params) | 478 IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
| 474 // Renderer-wide preferences. | 479 // Renderer-wide preferences. |
| 475 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) | 480 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) |
| 476 | 481 |
| 477 // Preferences for this view. | 482 // Preferences for this view. |
| (...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1673 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1678 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1674 // for details. | 1679 // for details. |
| 1675 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1680 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1676 LOGFONT /* font_data */, | 1681 LOGFONT /* font_data */, |
| 1677 base::string16 /* characters */) | 1682 base::string16 /* characters */) |
| 1678 #endif | 1683 #endif |
| 1679 | 1684 |
| 1680 // Adding a new message? Stick to the sort order above: first platform | 1685 // Adding a new message? Stick to the sort order above: first platform |
| 1681 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1686 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1682 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1687 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |