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

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

Issue 583663003: Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and clean-up Created 6 years 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 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 1539
1540 // Notifies the browser that document has parsed the body. This is used by the 1540 // Notifies the browser that document has parsed the body. This is used by the
1541 // ResourceScheduler as an indication that bandwidth contention won't block 1541 // ResourceScheduler as an indication that bandwidth contention won't block
1542 // first paint. 1542 // first paint.
1543 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) 1543 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody)
1544 1544
1545 // Notification that the urls for the favicon of a site has been determined. 1545 // Notification that the urls for the favicon of a site has been determined.
1546 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, 1546 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL,
1547 std::vector<content::FaviconURL> /* candidates */) 1547 std::vector<content::FaviconURL> /* candidates */)
1548 1548
1549 // Sent by the renderer to the browser to start a vibration with the given
1550 // duration.
1551 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate,
1552 int64 /* milliseconds */)
1553
1554 // Sent by the renderer to the browser to cancel the currently running
1555 // vibration, if there is one.
1556 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration)
1557
1558 // Message sent from renderer to the browser when the element that is focused 1549 // Message sent from renderer to the browser when the element that is focused
1559 // has been touched. A bool is passed in this message which indicates if the 1550 // has been touched. A bool is passed in this message which indicates if the
1560 // node is editable. 1551 // node is editable.
1561 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, 1552 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched,
1562 bool /* editable */) 1553 bool /* editable */)
1563 1554
1564 // Message sent from the renderer to the browser when an HTML form has failed 1555 // Message sent from the renderer to the browser when an HTML form has failed
1565 // validation constraints. 1556 // validation constraints.
1566 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage, 1557 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage,
1567 gfx::Rect /* anchor rectangle in root view coordinate */, 1558 gfx::Rect /* anchor rectangle in root view coordinate */,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 // Since the browser keeps handles to the allocated transport DIBs, this 1654 // Since the browser keeps handles to the allocated transport DIBs, this
1664 // message is sent to tell the browser that it may release them when the 1655 // message is sent to tell the browser that it may release them when the
1665 // renderer is finished with them. 1656 // renderer is finished with them.
1666 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1657 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1667 TransportDIB::Id /* DIB id */) 1658 TransportDIB::Id /* DIB id */)
1668 #endif 1659 #endif
1669 1660
1670 // Adding a new message? Stick to the sort order above: first platform 1661 // Adding a new message? Stick to the sort order above: first platform
1671 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1662 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1672 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1663 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698