| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index 7a6c3b12d8fd2eef37784eee5836e8312254ecd6..0ca67c87094296c2d7683682226f40f4c085fa4d 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -21,6 +21,7 @@
|
| #include "content/public/common/referrer.h"
|
| #include "content/public/common/renderer_preferences.h"
|
| #include "content/public/common/stop_find_action.h"
|
| +#include "content/public/common/three_d_api_types.h"
|
| #include "content/public/common/window_container_type.h"
|
| #include "ipc/ipc_channel_handle.h"
|
| #include "ipc/ipc_message_macros.h"
|
| @@ -75,6 +76,7 @@ IPC_ENUM_TRAITS(content::PageZoom)
|
| IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum)
|
| IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum)
|
| IPC_ENUM_TRAITS(content::StopFindAction)
|
| +IPC_ENUM_TRAITS(content::ThreeDAPIType)
|
| IPC_ENUM_TRAITS(media::ChannelLayout)
|
| IPC_ENUM_TRAITS(media::MediaLogEvent::Type)
|
| IPC_ENUM_TRAITS(ui::TextInputType)
|
| @@ -2409,3 +2411,19 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup,
|
| gfx::Rect, /* Border of touched targets */
|
| gfx::Size, /* Size of zoomed image */
|
| TransportDIB::Id /* DIB of zoomed image */)
|
| +
|
| +// Sent by the renderer process to check whether client 3D APIs
|
| +// (Pepper 3D, WebGL) are explicitly blocked.
|
| +IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked,
|
| + int /* render_view_id */,
|
| + GURL /* top_origin_url */,
|
| + content::ThreeDAPIType /* requester */,
|
| + bool /* blocked */)
|
| +
|
| +// Sent by the renderer process to indicate that a context was lost by
|
| +// client 3D content (Pepper 3D, WebGL) running on the page at the
|
| +// given URL.
|
| +IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext,
|
| + GURL /* top_origin_url */,
|
| + content::ThreeDAPIType /* context_type */,
|
| + int /* arb_robustness_status_code */)
|
|
|