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

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

Issue 618013003: Support fullscreen for non-video elements in the WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactorFullscreenNonMedia
Patch Set: Created 6 years, 2 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
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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 // to be be delivered until the notification is disabled. 1588 // to be be delivered until the notification is disabled.
1589 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, 1589 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame,
1590 bool /* enabled */) 1590 bool /* enabled */)
1591 1591
1592 // Reply to the ViewMsg_ExtractSmartClipData message. 1592 // Reply to the ViewMsg_ExtractSmartClipData message.
1593 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, 1593 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted,
1594 base::string16 /* text */, 1594 base::string16 /* text */,
1595 base::string16 /* html */, 1595 base::string16 /* html */,
1596 gfx::Rect /* rect */) 1596 gfx::Rect /* rect */)
1597 1597
1598 // Messages sent from the renderer to the browser after the page has been
1599 // bound into / out of fullscreen. In the case of video only at this point
Tom Sepez 2014/10/02 17:28:59 I don't understand the sentence "In the case of vi
Ignacio Solla 2014/10/03 09:45:20 Removed the second sentence, as it is just too ver
1600 // will the ContentVideoView have been created, which the browser is
1601 // responsible of showing.
1602 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidEnterFullscreen)
1603 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidExitFullscreen)
1604
1598 #elif defined(OS_MACOSX) 1605 #elif defined(OS_MACOSX)
1599 // Request that the browser load a font into shared memory for us. 1606 // Request that the browser load a font into shared memory for us.
1600 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, 1607 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
1601 FontDescriptor /* font to load */, 1608 FontDescriptor /* font to load */,
1602 uint32 /* buffer size */, 1609 uint32 /* buffer size */,
1603 base::SharedMemoryHandle /* font data */, 1610 base::SharedMemoryHandle /* font data */,
1604 uint32 /* font id */) 1611 uint32 /* font id */)
1605 1612
1606 // Informs the browser that a plugin has gained or lost focus. 1613 // Informs the browser that a plugin has gained or lost focus.
1607 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, 1614 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 // Since the browser keeps handles to the allocated transport DIBs, this 1647 // Since the browser keeps handles to the allocated transport DIBs, this
1641 // message is sent to tell the browser that it may release them when the 1648 // message is sent to tell the browser that it may release them when the
1642 // renderer is finished with them. 1649 // renderer is finished with them.
1643 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1650 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1644 TransportDIB::Id /* DIB id */) 1651 TransportDIB::Id /* DIB id */)
1645 #endif 1652 #endif
1646 1653
1647 // Adding a new message? Stick to the sort order above: first platform 1654 // Adding a new message? Stick to the sort order above: first platform
1648 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1655 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1649 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1656 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698