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

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

Issue 6551019: Trace_event upgrades (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More gooder js thanks to arv. Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 // a generated by a user action or because a constrained popup got turned 646 // a generated by a user action or because a constrained popup got turned
647 // into a full window). 647 // into a full window).
648 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) 648 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount)
649 649
650 // The browser sends this to a renderer process in response to a 650 // The browser sends this to a renderer process in response to a
651 // GpuHostMsg_EstablishGpuChannel message. 651 // GpuHostMsg_EstablishGpuChannel message.
652 IPC_MESSAGE_CONTROL2(ViewMsg_GpuChannelEstablished, 652 IPC_MESSAGE_CONTROL2(ViewMsg_GpuChannelEstablished,
653 IPC::ChannelHandle /* handle to channel */, 653 IPC::ChannelHandle /* handle to channel */,
654 GPUInfo /* stats about GPU process*/) 654 GPUInfo /* stats about GPU process*/)
655 655
656 // Tells the renderer process to enable GPU_TRACE collection
657 IPC_MESSAGE_CONTROL1(ViewMsg_SetTraceEnabled,
658 bool /* enabled */)
659
656 // Notifies the renderer of the appcache that has been selected for a 660 // Notifies the renderer of the appcache that has been selected for a
657 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. 661 // a particular host. This is sent in reply to AppCacheMsg_SelectCache.
658 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected, 662 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected,
659 int /* host_id */, 663 int /* host_id */,
660 appcache::AppCacheInfo) 664 appcache::AppCacheInfo)
661 665
662 // Notifies the renderer of an AppCache status change. 666 // Notifies the renderer of an AppCache status change.
663 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, 667 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged,
664 std::vector<int> /* host_ids */, 668 std::vector<int> /* host_ids */,
665 appcache::Status) 669 appcache::Status)
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 1540
1537 // A renderer sends this to the browser process when it wants to 1541 // A renderer sends this to the browser process when it wants to
1538 // create a pepper plugin. The browser will create the plugin process if 1542 // create a pepper plugin. The browser will create the plugin process if
1539 // necessary, and will return a handle to the channel on success. 1543 // necessary, and will return a handle to the channel on success.
1540 // On error an empty string is returned. 1544 // On error an empty string is returned.
1541 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin, 1545 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin,
1542 FilePath /* path */, 1546 FilePath /* path */,
1543 base::ProcessHandle /* plugin_process_handle */, 1547 base::ProcessHandle /* plugin_process_handle */,
1544 IPC::ChannelHandle /* handle to channel */) 1548 IPC::ChannelHandle /* handle to channel */)
1545 1549
1550 // Trace data being forwarded to browser process
1551 IPC_MESSAGE_CONTROL1(ViewHostMsg_TraceDataCollectedRemotely,
1552 std::string /* json_events */)
1553
1546 // A renderer sends this to the browser process when it wants to start 1554 // A renderer sends this to the browser process when it wants to start
1547 // a new instance of the Native Client process. The browser will launch 1555 // a new instance of the Native Client process. The browser will launch
1548 // the process and return a handle to an IMC channel. 1556 // the process and return a handle to an IMC channel.
1549 IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl, 1557 IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl,
1550 std::wstring /* url for the NaCl module */, 1558 std::wstring /* url for the NaCl module */,
1551 int /* socket count */, 1559 int /* socket count */,
1552 std::vector<nacl::FileDescriptor> 1560 std::vector<nacl::FileDescriptor>
1553 /* imc channel handles */, 1561 /* imc channel handles */,
1554 base::ProcessHandle /* NaCl process handle */, 1562 base::ProcessHandle /* NaCl process handle */,
1555 base::ProcessId /* NaCl process id */) 1563 base::ProcessId /* NaCl process id */)
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
2530 // The currently displayed PDF has an unsupported feature. 2538 // The currently displayed PDF has an unsupported feature.
2531 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) 2539 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
2532 2540
2533 // JavaScript related messages ----------------------------------------------- 2541 // JavaScript related messages -----------------------------------------------
2534 2542
2535 // Notify the JavaScript engine in the render to change its parameters 2543 // Notify the JavaScript engine in the render to change its parameters
2536 // while performing stress testing. 2544 // while performing stress testing.
2537 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2545 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2538 int /* cmd */, 2546 int /* cmd */,
2539 int /* param */) 2547 int /* param */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698