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

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

Issue 10458008: Support mouse lock in Flash fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 months 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_renderer.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"
(...skipping 2049 matching lines...) Expand 10 before | Expand all | Expand 10 after
2060 GURL /* frame's url */, 2060 GURL /* frame's url */,
2061 std::string /* data buffer */, 2061 std::string /* data buffer */,
2062 int32 /* complete status */) 2062 int32 /* complete status */)
2063 2063
2064 // Notifies the browser of an event occurring in the media pipeline. 2064 // Notifies the browser of an event occurring in the media pipeline.
2065 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, 2065 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
2066 media::MediaLogEvent /* event */) 2066 media::MediaLogEvent /* event */)
2067 2067
2068 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 2068 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
2069 // being sent back. 2069 // being sent back.
2070 IPC_MESSAGE_ROUTED2(ViewHostMsg_LockMouse, 2070 // |privileged| is used by Pepper Flash. If this flag is set to true, we won't
2071 // pop up a bubble to ask for user permission or take mouse lock content into
2072 // account.
2073 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse,
2071 bool /* user_gesture */, 2074 bool /* user_gesture */,
2072 bool /* last_unlocked_by_target */) 2075 bool /* last_unlocked_by_target */,
2076 bool /* privileged */)
2073 2077
2074 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 2078 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
2075 // whenever the mouse is unlocked (which may or may not be caused by 2079 // whenever the mouse is unlocked (which may or may not be caused by
2076 // ViewHostMsg_UnlockMouse). 2080 // ViewHostMsg_UnlockMouse).
2077 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 2081 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
2078 2082
2079 // Following message is used to communicate the values received by the 2083 // Following message is used to communicate the values received by the
2080 // callback binding the JS to Cpp. 2084 // callback binding the JS to Cpp.
2081 // An instance of browser that has an automation host listening to it can 2085 // An instance of browser that has an automation host listening to it can
2082 // have a javascript send a native value (string, number, boolean) to the 2086 // have a javascript send a native value (string, number, boolean) to the
2083 // listener in Cpp. (DomAutomationController) 2087 // listener in Cpp. (DomAutomationController)
2084 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, 2088 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse,
2085 std::string /* json_string */, 2089 std::string /* json_string */,
2086 int /* automation_id */) 2090 int /* automation_id */)
2087 2091
2088 // Sent to the browser when the renderer detects it is blocked on a pepper 2092 // Sent to the browser when the renderer detects it is blocked on a pepper
2089 // plugin message for too long. This is also sent when it becomes unhung 2093 // plugin message for too long. This is also sent when it becomes unhung
2090 // (according to the value of is_hung). The browser can give the user the 2094 // (according to the value of is_hung). The browser can give the user the
2091 // option of killing the plugin. 2095 // option of killing the plugin.
2092 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2096 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2093 int /* plugin_child_id */, 2097 int /* plugin_child_id */,
2094 FilePath /* path */, 2098 FilePath /* path */,
2095 bool /* is_hung */) 2099 bool /* is_hung */)
2096 2100
2097 // Screen was rotated. Dispatched to the onorientationchange javascript API. 2101 // Screen was rotated. Dispatched to the onorientationchange javascript API.
2098 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, 2102 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
2099 int /* orientation */) 2103 int /* orientation */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698