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

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

Issue 3009005: Chrome side of changes required to populate appcache resource list.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 // into a full window). 594 // into a full window).
595 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) 595 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount)
596 596
597 // The browser sends this to a renderer process in response to a 597 // The browser sends this to a renderer process in response to a
598 // ViewHostMsg_EstablishGpuChannel message. 598 // ViewHostMsg_EstablishGpuChannel message.
599 IPC_MESSAGE_CONTROL1(ViewMsg_GpuChannelEstablished, 599 IPC_MESSAGE_CONTROL1(ViewMsg_GpuChannelEstablished,
600 IPC::ChannelHandle /* handle to channel */) 600 IPC::ChannelHandle /* handle to channel */)
601 601
602 // Notifies the renderer of the appcache that has been selected for a 602 // Notifies the renderer of the appcache that has been selected for a
603 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. 603 // a particular host. This is sent in reply to AppCacheMsg_SelectCache.
604 IPC_MESSAGE_CONTROL3(AppCacheMsg_CacheSelected, 604 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected,
605 int /* host_id */, 605 int /* host_id */,
606 int64 /* appcache_id */, 606 appcache::AppCacheInfo)
607 appcache::Status)
608 607
609 // Notifies the renderer of an AppCache status change. 608 // Notifies the renderer of an AppCache status change.
610 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, 609 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged,
611 std::vector<int> /* host_ids */, 610 std::vector<int> /* host_ids */,
612 appcache::Status) 611 appcache::Status)
613 612
614 // Notifies the renderer of an AppCache event other than the 613 // Notifies the renderer of an AppCache event other than the
615 // progress event which has a seperate message. 614 // progress event which has a seperate message.
616 IPC_MESSAGE_CONTROL2(AppCacheMsg_EventRaised, 615 IPC_MESSAGE_CONTROL2(AppCacheMsg_EventRaised,
617 std::vector<int> /* host_ids */, 616 std::vector<int> /* host_ids */,
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1861 // Initiates an update of the appcache associated with host_id. 1860 // Initiates an update of the appcache associated with host_id.
1862 IPC_SYNC_MESSAGE_CONTROL1_1(AppCacheMsg_StartUpdate, 1861 IPC_SYNC_MESSAGE_CONTROL1_1(AppCacheMsg_StartUpdate,
1863 int /* host_id */, 1862 int /* host_id */,
1864 bool /* success */) 1863 bool /* success */)
1865 1864
1866 // Swaps a new pending appcache, if there is one, into use for host_id. 1865 // Swaps a new pending appcache, if there is one, into use for host_id.
1867 IPC_SYNC_MESSAGE_CONTROL1_1(AppCacheMsg_SwapCache, 1866 IPC_SYNC_MESSAGE_CONTROL1_1(AppCacheMsg_SwapCache,
1868 int /* host_id */, 1867 int /* host_id */,
1869 bool /* success */) 1868 bool /* success */)
1870 1869
1870 // Gets resource list from appcache synchronously.
1871 IPC_SYNC_MESSAGE_CONTROL1_1(AppCacheMsg_GetResourceList,
1872 int /* host_id in*/,
1873 std::vector<appcache::AppCacheResourceInfo>
1874 /* resources out */)
1875
1871 // Returns the resizer box location in the window this widget is embedded. 1876 // Returns the resizer box location in the window this widget is embedded.
1872 // Important for Mac OS X, but not Win or Linux. 1877 // Important for Mac OS X, but not Win or Linux.
1873 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowResizerRect, 1878 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowResizerRect,
1874 gfx::NativeViewId /* window */, 1879 gfx::NativeViewId /* window */,
1875 gfx::Rect /* Out: Window location */) 1880 gfx::Rect /* Out: Window location */)
1876 1881
1877 // Queries the browser for AutoFill suggestions for a form input field. 1882 // Queries the browser for AutoFill suggestions for a form input field.
1878 IPC_MESSAGE_ROUTED3(ViewHostMsg_QueryFormFieldAutoFill, 1883 IPC_MESSAGE_ROUTED3(ViewHostMsg_QueryFormFieldAutoFill,
1879 int /* id of this message */, 1884 int /* id of this message */,
1880 bool /* form_autofilled */, 1885 bool /* form_autofilled */,
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
2524 // Send the tree of accessibility data to the browser, where it's cached 2529 // Send the tree of accessibility data to the browser, where it's cached
2525 // in order to respond to OS accessibility queries immediately. 2530 // in order to respond to OS accessibility queries immediately.
2526 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, 2531 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
2527 webkit_glue::WebAccessibility) 2532 webkit_glue::WebAccessibility)
2528 2533
2529 // Notifies the TabContents that the content being displayed is PDF. 2534 // Notifies the TabContents that the content being displayed is PDF.
2530 // This allows the browser to handle things such as zooming differently. 2535 // This allows the browser to handle things such as zooming differently.
2531 IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent) 2536 IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent)
2532 2537
2533 IPC_END_MESSAGES(ViewHost) 2538 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698