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

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

Issue 155068: DevTools: preserve focus on activating dev tools window. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/renderer/devtools_client.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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 // Wraps an IPC message that's destined to the DevToolsClient on 1094 // Wraps an IPC message that's destined to the DevToolsClient on
1095 // DevToolsAgent->browser hop. 1095 // DevToolsAgent->browser hop.
1096 IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardToDevToolsClient, 1096 IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardToDevToolsClient,
1097 IPC::Message /* one of DevToolsClientMsg_XXX types */) 1097 IPC::Message /* one of DevToolsClientMsg_XXX types */)
1098 1098
1099 // Wraps an IPC message that's destined to the DevToolsAgent on 1099 // Wraps an IPC message that's destined to the DevToolsAgent on
1100 // DevToolsClient->browser hop. 1100 // DevToolsClient->browser hop.
1101 IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardToDevToolsAgent, 1101 IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardToDevToolsAgent,
1102 IPC::Message /* one of DevToolsAgentMsg_XXX types */) 1102 IPC::Message /* one of DevToolsAgentMsg_XXX types */)
1103 1103
1104 // Activates (brings to the front) corresponding dev tools window.
1105 IPC_MESSAGE_ROUTED0(ViewHostMsg_ActivateDevToolsWindow)
1106
1104 // Closes dev tools window that is inspecting current render_view_host. 1107 // Closes dev tools window that is inspecting current render_view_host.
1105 IPC_MESSAGE_ROUTED0(ViewHostMsg_CloseDevToolsWindow) 1108 IPC_MESSAGE_ROUTED0(ViewHostMsg_CloseDevToolsWindow)
1106 1109
1107 // Attaches dev tools window that is inspecting current render_view_host. 1110 // Attaches dev tools window that is inspecting current render_view_host.
1108 IPC_MESSAGE_ROUTED0(ViewHostMsg_DockDevToolsWindow) 1111 IPC_MESSAGE_ROUTED0(ViewHostMsg_DockDevToolsWindow)
1109 1112
1110 // Detaches dev tools window that is inspecting current render_view_host. 1113 // Detaches dev tools window that is inspecting current render_view_host.
1111 IPC_MESSAGE_ROUTED0(ViewHostMsg_UndockDevToolsWindow) 1114 IPC_MESSAGE_ROUTED0(ViewHostMsg_UndockDevToolsWindow)
1112 1115
1113 // Send back a string to be recorded by UserMetrics. 1116 // Send back a string to be recorded by UserMetrics.
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 // web resource. |error_message| is a user-readable explanation of what 1456 // web resource. |error_message| is a user-readable explanation of what
1454 // went wrong. 1457 // went wrong.
1455 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, 1458 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed,
1456 std::string /* error_message, if any */) 1459 std::string /* error_message, if any */)
1457 1460
1458 // Sent by the renderer process to acknowledge receipt of a 1461 // Sent by the renderer process to acknowledge receipt of a
1459 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. 1462 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame.
1460 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) 1463 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted)
1461 1464
1462 IPC_END_MESSAGES(ViewHost) 1465 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/renderer/devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698