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 28 matching lines...) Expand all Loading... |
39 #include "ipc/ipc_channel_handle.h" | 39 #include "ipc/ipc_channel_handle.h" |
40 #include "ipc/ipc_message_macros.h" | 40 #include "ipc/ipc_message_macros.h" |
41 #include "ipc/ipc_platform_file.h" | 41 #include "ipc/ipc_platform_file.h" |
42 #include "media/audio/audio_parameters.h" | 42 #include "media/audio/audio_parameters.h" |
43 #include "media/base/channel_layout.h" | 43 #include "media/base/channel_layout.h" |
44 #include "media/base/media_log_event.h" | 44 #include "media/base/media_log_event.h" |
45 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 45 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
46 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 46 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
47 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | 47 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
48 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 48 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
| 49 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" |
49 #include "third_party/WebKit/public/web/WebFindOptions.h" | 50 #include "third_party/WebKit/public/web/WebFindOptions.h" |
50 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" | 51 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" |
51 #include "third_party/WebKit/public/web/WebPluginAction.h" | 52 #include "third_party/WebKit/public/web/WebPluginAction.h" |
52 #include "third_party/WebKit/public/web/WebPopupType.h" | 53 #include "third_party/WebKit/public/web/WebPopupType.h" |
53 #include "third_party/WebKit/public/web/WebTextDirection.h" | 54 #include "third_party/WebKit/public/web/WebTextDirection.h" |
54 #include "third_party/skia/include/core/SkBitmap.h" | 55 #include "third_party/skia/include/core/SkBitmap.h" |
55 #include "ui/base/ime/text_input_mode.h" | 56 #include "ui/base/ime/text_input_mode.h" |
56 #include "ui/base/ime/text_input_type.h" | 57 #include "ui/base/ime/text_input_type.h" |
57 #include "ui/base/ui_base_types.h" | 58 #include "ui/base/ui_base_types.h" |
58 #include "ui/gfx/point.h" | 59 #include "ui/gfx/point.h" |
(...skipping 10 matching lines...) Expand all Loading... |
69 | 70 |
70 #undef IPC_MESSAGE_EXPORT | 71 #undef IPC_MESSAGE_EXPORT |
71 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 72 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
72 | 73 |
73 #define IPC_MESSAGE_START ViewMsgStart | 74 #define IPC_MESSAGE_START ViewMsgStart |
74 | 75 |
75 IPC_ENUM_TRAITS(AccessibilityMode) | 76 IPC_ENUM_TRAITS(AccessibilityMode) |
76 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) | 77 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) |
77 IPC_ENUM_TRAITS(blink::WebContextMenuData::MediaType) | 78 IPC_ENUM_TRAITS(blink::WebContextMenuData::MediaType) |
78 IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type) | 79 IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type) |
| 80 IPC_ENUM_TRAITS(blink::WebContentSecurityPolicyType) |
79 IPC_ENUM_TRAITS(blink::WebPluginAction::Type) | 81 IPC_ENUM_TRAITS(blink::WebPluginAction::Type) |
80 IPC_ENUM_TRAITS(blink::WebPopupType) | 82 IPC_ENUM_TRAITS(blink::WebPopupType) |
81 IPC_ENUM_TRAITS(blink::WebTextDirection) | 83 IPC_ENUM_TRAITS(blink::WebTextDirection) |
82 IPC_ENUM_TRAITS(WindowContainerType) | 84 IPC_ENUM_TRAITS(WindowContainerType) |
83 IPC_ENUM_TRAITS(content::FaviconURL::IconType) | 85 IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
84 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) | 86 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
85 IPC_ENUM_TRAITS(content::JavaScriptMessageType) | 87 IPC_ENUM_TRAITS(content::JavaScriptMessageType) |
86 IPC_ENUM_TRAITS(content::MenuItem::Type) | 88 IPC_ENUM_TRAITS(content::MenuItem::Type) |
87 IPC_ENUM_TRAITS(content::NavigationGesture) | 89 IPC_ENUM_TRAITS(content::NavigationGesture) |
88 IPC_ENUM_TRAITS(content::PageZoom) | 90 IPC_ENUM_TRAITS(content::PageZoom) |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 IPC_STRUCT_MEMBER(std::vector<base::string16>, additional_features) | 383 IPC_STRUCT_MEMBER(std::vector<base::string16>, additional_features) |
382 IPC_STRUCT_END() | 384 IPC_STRUCT_END() |
383 | 385 |
384 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) | 386 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
385 // URL for the worker script. | 387 // URL for the worker script. |
386 IPC_STRUCT_MEMBER(GURL, url) | 388 IPC_STRUCT_MEMBER(GURL, url) |
387 | 389 |
388 // Name for a SharedWorker, otherwise empty string. | 390 // Name for a SharedWorker, otherwise empty string. |
389 IPC_STRUCT_MEMBER(base::string16, name) | 391 IPC_STRUCT_MEMBER(base::string16, name) |
390 | 392 |
| 393 // Security policy used in the worker. |
| 394 IPC_STRUCT_MEMBER(base::string16, content_security_policy) |
| 395 |
| 396 // Security policy type used in the worker. |
| 397 IPC_STRUCT_MEMBER(blink::WebContentSecurityPolicyType, security_policy_type) |
| 398 |
391 // The ID of the parent document (unique within parent renderer). | 399 // The ID of the parent document (unique within parent renderer). |
392 IPC_STRUCT_MEMBER(unsigned long long, document_id) | 400 IPC_STRUCT_MEMBER(unsigned long long, document_id) |
393 | 401 |
394 // RenderView routing id. | 402 // RenderView routing id. |
395 IPC_STRUCT_MEMBER(int, render_view_route_id) | 403 IPC_STRUCT_MEMBER(int, render_view_route_id) |
396 | 404 |
397 // RenderFrame routing id used to send messages back to the parent. | 405 // RenderFrame routing id used to send messages back to the parent. |
398 IPC_STRUCT_MEMBER(int, render_frame_route_id) | 406 IPC_STRUCT_MEMBER(int, render_frame_route_id) |
399 | 407 |
400 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, | 408 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, |
(...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2339 // synchronously (see crbug.com/120597). This IPC message sends the character | 2347 // synchronously (see crbug.com/120597). This IPC message sends the character |
2340 // bounds after every composition change to always have correct bound info. | 2348 // bounds after every composition change to always have correct bound info. |
2341 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2349 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2342 gfx::Range /* composition range */, | 2350 gfx::Range /* composition range */, |
2343 std::vector<gfx::Rect> /* character bounds */) | 2351 std::vector<gfx::Rect> /* character bounds */) |
2344 #endif | 2352 #endif |
2345 | 2353 |
2346 // Adding a new message? Stick to the sort order above: first platform | 2354 // Adding a new message? Stick to the sort order above: first platform |
2347 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2355 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2348 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2356 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |