Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: content/common/view_messages.h

Issue 11378008: Raise an infobar and deny access to WebGL if a GPU reset was detected while a web page containing W… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Work around build failure on Mac OS with 10.6 SDK. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "content/common/content_param_traits.h" 11 #include "content/common/content_param_traits.h"
12 #include "content/common/edit_command.h" 12 #include "content/common/edit_command.h"
13 #include "content/common/navigation_gesture.h" 13 #include "content/common/navigation_gesture.h"
14 #include "content/common/view_message_enums.h" 14 #include "content/common/view_message_enums.h"
15 #include "content/public/common/common_param_traits.h" 15 #include "content/public/common/common_param_traits.h"
16 #include "content/public/common/context_menu_params.h" 16 #include "content/public/common/context_menu_params.h"
17 #include "content/public/common/file_chooser_params.h" 17 #include "content/public/common/file_chooser_params.h"
18 #include "content/public/common/frame_navigate_params.h" 18 #include "content/public/common/frame_navigate_params.h"
19 #include "content/public/common/javascript_message_type.h" 19 #include "content/public/common/javascript_message_type.h"
20 #include "content/public/common/page_zoom.h" 20 #include "content/public/common/page_zoom.h"
21 #include "content/public/common/referrer.h" 21 #include "content/public/common/referrer.h"
22 #include "content/public/common/renderer_preferences.h" 22 #include "content/public/common/renderer_preferences.h"
23 #include "content/public/common/stop_find_action.h" 23 #include "content/public/common/stop_find_action.h"
24 #include "content/public/common/three_d_api_types.h"
24 #include "content/public/common/window_container_type.h" 25 #include "content/public/common/window_container_type.h"
25 #include "ipc/ipc_channel_handle.h" 26 #include "ipc/ipc_channel_handle.h"
26 #include "ipc/ipc_message_macros.h" 27 #include "ipc/ipc_message_macros.h"
27 #include "ipc/ipc_platform_file.h" 28 #include "ipc/ipc_platform_file.h"
28 #include "media/base/channel_layout.h" 29 #include "media/base/channel_layout.h"
29 #include "media/base/media_log_event.h" 30 #include "media/base/media_log_event.h"
30 #include "third_party/skia/include/core/SkBitmap.h" 31 #include "third_party/skia/include/core/SkBitmap.h"
31 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 32 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
32 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" 33 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 IPC_ENUM_TRAITS(WebKit::WebTextDirection) 69 IPC_ENUM_TRAITS(WebKit::WebTextDirection)
69 IPC_ENUM_TRAITS(WebMenuItem::Type) 70 IPC_ENUM_TRAITS(WebMenuItem::Type)
70 IPC_ENUM_TRAITS(WindowContainerType) 71 IPC_ENUM_TRAITS(WindowContainerType)
71 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) 72 IPC_ENUM_TRAITS(content::FileChooserParams::Mode)
72 IPC_ENUM_TRAITS(content::JavaScriptMessageType) 73 IPC_ENUM_TRAITS(content::JavaScriptMessageType)
73 IPC_ENUM_TRAITS(content::NavigationGesture) 74 IPC_ENUM_TRAITS(content::NavigationGesture)
74 IPC_ENUM_TRAITS(content::PageZoom) 75 IPC_ENUM_TRAITS(content::PageZoom)
75 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) 76 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum)
76 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) 77 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum)
77 IPC_ENUM_TRAITS(content::StopFindAction) 78 IPC_ENUM_TRAITS(content::StopFindAction)
79 IPC_ENUM_TRAITS(content::ThreeDAPIType)
78 IPC_ENUM_TRAITS(media::ChannelLayout) 80 IPC_ENUM_TRAITS(media::ChannelLayout)
79 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) 81 IPC_ENUM_TRAITS(media::MediaLogEvent::Type)
80 IPC_ENUM_TRAITS(ui::TextInputType) 82 IPC_ENUM_TRAITS(ui::TextInputType)
81 83
82 #if defined(OS_MACOSX) 84 #if defined(OS_MACOSX)
83 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) 85 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor)
84 IPC_STRUCT_TRAITS_MEMBER(font_name) 86 IPC_STRUCT_TRAITS_MEMBER(font_name)
85 IPC_STRUCT_TRAITS_MEMBER(font_point_size) 87 IPC_STRUCT_TRAITS_MEMBER(font_point_size)
86 IPC_STRUCT_TRAITS_END() 88 IPC_STRUCT_TRAITS_END()
87 #endif 89 #endif
(...skipping 2314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2402 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, 2404 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent,
2403 GURL /* content_url */) 2405 GURL /* content_url */)
2404 #endif 2406 #endif
2405 2407
2406 // Notifies that multiple touch targets may have been pressed, and to show 2408 // Notifies that multiple touch targets may have been pressed, and to show
2407 // the disambiguation popup. 2409 // the disambiguation popup.
2408 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, 2410 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup,
2409 gfx::Rect, /* Border of touched targets */ 2411 gfx::Rect, /* Border of touched targets */
2410 gfx::Size, /* Size of zoomed image */ 2412 gfx::Size, /* Size of zoomed image */
2411 TransportDIB::Id /* DIB of zoomed image */) 2413 TransportDIB::Id /* DIB of zoomed image */)
2414
2415 // Sent by the renderer process to check whether client 3D APIs
2416 // (Pepper 3D, WebGL) are explicitly blocked.
2417 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Are3DAPIsBlocked,
2418 int /* render_view_id */,
2419 GURL /* top_origin_url */,
2420 content::ThreeDAPIType /* requester */,
2421 bool /* blocked */)
2422
2423 // Sent by the renderer process to indicate that a context was lost by
2424 // client 3D content (Pepper 3D, WebGL) running on the page at the
2425 // given URL.
2426 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext,
2427 GURL /* top_origin_url */,
2428 content::ThreeDAPIType /* context_type */,
2429 int /* arb_robustness_status_code */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698