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

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

Issue 826613003: Revert of Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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
« no previous file with comments | « content/browser/vibration/vibration_provider_android.cc ('k') | content/content.gyp » ('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/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 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 1542
1543 // Notifies the browser that document has parsed the body. This is used by the 1543 // Notifies the browser that document has parsed the body. This is used by the
1544 // ResourceScheduler as an indication that bandwidth contention won't block 1544 // ResourceScheduler as an indication that bandwidth contention won't block
1545 // first paint. 1545 // first paint.
1546 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) 1546 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody)
1547 1547
1548 // Notification that the urls for the favicon of a site has been determined. 1548 // Notification that the urls for the favicon of a site has been determined.
1549 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, 1549 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL,
1550 std::vector<content::FaviconURL> /* candidates */) 1550 std::vector<content::FaviconURL> /* candidates */)
1551 1551
1552 // Sent by the renderer to the browser to start a vibration with the given
1553 // duration.
1554 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate,
1555 int64 /* milliseconds */)
1556
1557 // Sent by the renderer to the browser to cancel the currently running
1558 // vibration, if there is one.
1559 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration)
1560
1552 // Message sent from renderer to the browser when the element that is focused 1561 // Message sent from renderer to the browser when the element that is focused
1553 // has been touched. A bool is passed in this message which indicates if the 1562 // has been touched. A bool is passed in this message which indicates if the
1554 // node is editable. 1563 // node is editable.
1555 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, 1564 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched,
1556 bool /* editable */) 1565 bool /* editable */)
1557 1566
1558 // Message sent from the renderer to the browser when an HTML form has failed 1567 // Message sent from the renderer to the browser when an HTML form has failed
1559 // validation constraints. 1568 // validation constraints.
1560 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage, 1569 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage,
1561 gfx::Rect /* anchor rectangle in root view coordinate */, 1570 gfx::Rect /* anchor rectangle in root view coordinate */,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1645 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1637 // for details. 1646 // for details.
1638 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1647 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1639 LOGFONT /* font_data */, 1648 LOGFONT /* font_data */,
1640 base::string16 /* characters */) 1649 base::string16 /* characters */)
1641 #endif 1650 #endif
1642 1651
1643 // Adding a new message? Stick to the sort order above: first platform 1652 // Adding a new message? Stick to the sort order above: first platform
1644 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1653 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1645 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1654 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/vibration/vibration_provider_android.cc ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698