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

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

Issue 10173030: User Gesture plumbed from Renderer to Browser's FullscreenController::RequestToLockMouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yzshen nits fixed. Created 8 years, 7 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
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 1975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 GURL /* frame's url */, 1986 GURL /* frame's url */,
1987 std::string /* data buffer */, 1987 std::string /* data buffer */,
1988 int32 /* complete status */) 1988 int32 /* complete status */)
1989 1989
1990 // Notifies the browser of an event occurring in the media pipeline. 1990 // Notifies the browser of an event occurring in the media pipeline.
1991 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, 1991 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
1992 media::MediaLogEvent /* event */) 1992 media::MediaLogEvent /* event */)
1993 1993
1994 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1994 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1995 // being sent back. 1995 // being sent back.
1996 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1996 IPC_MESSAGE_ROUTED1(ViewHostMsg_LockMouse,
1997 bool /* user_gesture */)
1997 1998
1998 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1999 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1999 // whenever the mouse is unlocked (which may or may not be caused by 2000 // whenever the mouse is unlocked (which may or may not be caused by
2000 // ViewHostMsg_UnlockMouse). 2001 // ViewHostMsg_UnlockMouse).
2001 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 2002 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
2002 2003
2003 // Following message is used to communicate the values received by the 2004 // Following message is used to communicate the values received by the
2004 // callback binding the JS to Cpp. 2005 // callback binding the JS to Cpp.
2005 // An instance of browser that has an automation host listening to it can 2006 // An instance of browser that has an automation host listening to it can
2006 // have a javascript send a native value (string, number, boolean) to the 2007 // have a javascript send a native value (string, number, boolean) to the
2007 // listener in Cpp. (DomAutomationController) 2008 // listener in Cpp. (DomAutomationController)
2008 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, 2009 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse,
2009 std::string /* json_string */, 2010 std::string /* json_string */,
2010 int /* automation_id */) 2011 int /* automation_id */)
2011 2012
2012 // Sent to the browser when the renderer detects it is blocked on a pepper 2013 // Sent to the browser when the renderer detects it is blocked on a pepper
2013 // plugin message for too long. This is also sent when it becomes unhung 2014 // plugin message for too long. This is also sent when it becomes unhung
2014 // (according to the value of is_hung). The browser can give the user the 2015 // (according to the value of is_hung). The browser can give the user the
2015 // option of killing the plugin. 2016 // option of killing the plugin.
2016 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2017 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2017 int /* plugin_child_id */, 2018 int /* plugin_child_id */,
2018 FilePath /* path */, 2019 FilePath /* path */,
2019 bool /* is_hung */) 2020 bool /* is_hung */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698