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

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

Issue 16781002: Vibration API: plumbing from Blink to Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 6 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1675 matching lines...) Expand 10 before | Expand all | Expand 10 after
1686 // necessary, and will return a handle to the channel on success. 1686 // necessary, and will return a handle to the channel on success.
1687 // On error an empty string is returned. 1687 // On error an empty string is returned.
1688 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, 1688 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin,
1689 int /* routing_id */, 1689 int /* routing_id */,
1690 GURL /* url */, 1690 GURL /* url */,
1691 GURL /* page_url */, 1691 GURL /* page_url */,
1692 std::string /* mime_type */, 1692 std::string /* mime_type */,
1693 IPC::ChannelHandle /* channel_handle */, 1693 IPC::ChannelHandle /* channel_handle */,
1694 webkit::WebPluginInfo /* info */) 1694 webkit::WebPluginInfo /* info */)
1695 1695
1696 // Sent by the renderer to the browser to start a vibration with the given
1697 // duration.
1698 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate,
1699 unsigned /* milliseconds */)
1700
1701 // Sent by the renderer to the browser to cancel the currently running
1702 // vibration, if there is one.
1703 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration)
1704
1696 #if defined(OS_WIN) 1705 #if defined(OS_WIN)
1697 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, 1706 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated,
1698 gfx::NativeViewId /* dummy_activation_window */) 1707 gfx::NativeViewId /* dummy_activation_window */)
1699 1708
1700 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, 1709 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed,
1701 gfx::NativeViewId /* dummy_activation_window */) 1710 gfx::NativeViewId /* dummy_activation_window */)
1702 #endif 1711 #endif
1703 1712
1704 // Get the list of proxies to use for |url|, as a semicolon delimited list 1713 // Get the list of proxies to use for |url|, as a semicolon delimited list
1705 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". 1714 // of "<TYPE> <HOST>:<PORT>" | "DIRECT".
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
2319 // Since the browser keeps handles to the allocated transport DIBs, this 2328 // Since the browser keeps handles to the allocated transport DIBs, this
2320 // message is sent to tell the browser that it may release them when the 2329 // message is sent to tell the browser that it may release them when the
2321 // renderer is finished with them. 2330 // renderer is finished with them.
2322 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2331 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2323 TransportDIB::Id /* DIB id */) 2332 TransportDIB::Id /* DIB id */)
2324 #endif 2333 #endif
2325 2334
2326 // Adding a new message? Stick to the sort order above: first platform 2335 // Adding a new message? Stick to the sort order above: first platform
2327 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2336 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2328 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2337 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698