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

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: remove debug logging 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 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1506 1506
1507 // Notifies the browser that document has parsed the body. This is used by the 1507 // Notifies the browser that document has parsed the body. This is used by the
1508 // ResourceScheduler as an indication that bandwidth contention won't block 1508 // ResourceScheduler as an indication that bandwidth contention won't block
1509 // first paint. 1509 // first paint.
1510 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) 1510 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody)
1511 1511
1512 // Notification that the urls for the favicon of a site has been determined. 1512 // Notification that the urls for the favicon of a site has been determined.
1513 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, 1513 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL,
1514 std::vector<content::FaviconURL> /* candidates */) 1514 std::vector<content::FaviconURL> /* candidates */)
1515 1515
1516 // Sent by the renderer to the browser to start a vibration with the given
1517 // duration.
1518 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate,
1519 int64 /* milliseconds */)
1520
1521 // Sent by the renderer to the browser to cancel the currently running
1522 // vibration, if there is one.
1523 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration)
1524
1525 // Message sent from renderer to the browser when the element that is focused 1516 // Message sent from renderer to the browser when the element that is focused
1526 // has been touched. A bool is passed in this message which indicates if the 1517 // has been touched. A bool is passed in this message which indicates if the
1527 // node is editable. 1518 // node is editable.
1528 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, 1519 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched,
1529 bool /* editable */) 1520 bool /* editable */)
1530 1521
1531 // Message sent from the renderer to the browser when an HTML form has failed 1522 // Message sent from the renderer to the browser when an HTML form has failed
1532 // validation constraints. 1523 // validation constraints.
1533 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage, 1524 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage,
1534 gfx::Rect /* anchor rectangle in root view coordinate */, 1525 gfx::Rect /* anchor rectangle in root view coordinate */,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 // Since the browser keeps handles to the allocated transport DIBs, this 1627 // Since the browser keeps handles to the allocated transport DIBs, this
1637 // message is sent to tell the browser that it may release them when the 1628 // message is sent to tell the browser that it may release them when the
1638 // renderer is finished with them. 1629 // renderer is finished with them.
1639 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1630 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1640 TransportDIB::Id /* DIB id */) 1631 TransportDIB::Id /* DIB id */)
1641 #endif 1632 #endif
1642 1633
1643 // Adding a new message? Stick to the sort order above: first platform 1634 // Adding a new message? Stick to the sort order above: first platform
1644 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1635 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1645 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1636 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698