Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index 5bc10795cad8241a95543f6ac44d775b3d4fcbb9..52302a9b4d1ffc5cb2852d19dc307d655d56f3dd 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) |
| @@ -2406,3 +2408,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 */, |
|
jam
2012/11/15 16:57:25
nit: here and below, the convention is to put the
Ken Russell (switch to Gerrit)
2012/11/15 20:53:25
Renamed some of the dispatching methods' parameter
|
| + content::ThreeDAPIType /* requesting API */, |
| + 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 /* GL_ARB_robustness context loss code */) |