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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 271052: Browser side support (sans UI) for desktop notifications.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/notification_provider.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 int /* notification_id */) 1694 int /* notification_id */)
1695 IPC_MESSAGE_ROUTED5(ViewHostMsg_ShowDesktopNotificationText, 1695 IPC_MESSAGE_ROUTED5(ViewHostMsg_ShowDesktopNotificationText,
1696 GURL /* origin */, 1696 GURL /* origin */,
1697 GURL /* icon_url */, 1697 GURL /* icon_url */,
1698 string16 /* title */, 1698 string16 /* title */,
1699 string16 /* text */, 1699 string16 /* text */,
1700 int /* notification_id */) 1700 int /* notification_id */)
1701 IPC_MESSAGE_ROUTED1(ViewHostMsg_CancelDesktopNotification, 1701 IPC_MESSAGE_ROUTED1(ViewHostMsg_CancelDesktopNotification,
1702 int /* notification_id */ ) 1702 int /* notification_id */ )
1703 IPC_MESSAGE_ROUTED2(ViewHostMsg_RequestNotificationPermission, 1703 IPC_MESSAGE_ROUTED2(ViewHostMsg_RequestNotificationPermission,
1704 string16 /* origin */, 1704 GURL /* origin */,
1705 int /* callback_context */) 1705 int /* callback_context */)
1706 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CheckNotificationPermission, 1706 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CheckNotificationPermission,
1707 string16 /* origin */, 1707 GURL /* origin */,
1708 int /* permission_result */) 1708 int /* permission_result */)
1709 1709
1710 // Sent if the worker object has sent a ViewHostMsg_CreateDedicatedWorker 1710 // Sent if the worker object has sent a ViewHostMsg_CreateDedicatedWorker
1711 // message and not received a ViewMsg_DedicatedWorkerCreated reply, but in the 1711 // message and not received a ViewMsg_DedicatedWorkerCreated reply, but in the
1712 // mean time it's destroyed. This tells the browser to not create the queued 1712 // mean time it's destroyed. This tells the browser to not create the queued
1713 // worker. 1713 // worker.
1714 IPC_MESSAGE_CONTROL1(ViewHostMsg_CancelCreateDedicatedWorker, 1714 IPC_MESSAGE_CONTROL1(ViewHostMsg_CancelCreateDedicatedWorker,
1715 int /* route_id */) 1715 int /* route_id */)
1716 1716
1717 // Wraps an IPC message that's destined to the worker on the renderer->browser 1717 // Wraps an IPC message that's destined to the worker on the renderer->browser
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1912 int /* socket_id */, 1912 int /* socket_id */,
1913 std::vector<char> /* data */) 1913 std::vector<char> /* data */)
1914 1914
1915 // Request to close the Socket Stream. 1915 // Request to close the Socket Stream.
1916 // The browser will send ViewMsg_SocketStream_Closed back when the Socket 1916 // The browser will send ViewMsg_SocketStream_Closed back when the Socket
1917 // Stream is completely closed. 1917 // Stream is completely closed.
1918 IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close, 1918 IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close,
1919 int /* socket_id */) 1919 int /* socket_id */)
1920 1920
1921 IPC_END_MESSAGES(ViewHost) 1921 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/notification_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698