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

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

Issue 10829007: Revert 148281 - Remove details from BROWSER_CLOSING and BROWSER_CLOSED notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/ui/tabs/pinned_tab_service.cc ('k') | chrome/common/chrome_notification_types.h » ('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) 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 // Defines the IPC messages used by the automation interface. 5 // Defines the IPC messages used by the automation interface.
6 6
7 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous 7 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous
8 // messages), or one that's been assigned by the proxy (for calls 8 // messages), or one that's been assigned by the proxy (for calls
9 // which expect a response). The routing_id shouldn't be used for 9 // which expect a response). The routing_id shouldn't be used for
10 // any other purpose in these message types. 10 // any other purpose in these message types.
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_CloseTab, 305 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_CloseTab,
306 int, 306 int,
307 bool, 307 bool,
308 bool) 308 bool)
309 309
310 // This message requests that the browser be closed. 310 // This message requests that the browser be closed.
311 // Request: 311 // Request:
312 // - int: handle of the browser which contains the tab 312 // - int: handle of the browser which contains the tab
313 // Response: 313 // Response:
314 // - bool: whether the operation was successfull. 314 // - bool: whether the operation was successfull.
315 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_CloseBrowser, 315 // - bool: whether the browser process will be terminated as a result (if
316 // this was the last closed browser window).
317 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_CloseBrowser,
316 int, 318 int,
319 bool,
317 bool) 320 bool)
318 321
319 #if defined(OS_WIN) 322 #if defined(OS_WIN)
320 // TODO(port): Port these messages. 323 // TODO(port): Port these messages.
321 // 324 //
322 // This message is an outgoing message from Chrome to an external host. 325 // This message is an outgoing message from Chrome to an external host.
323 // It is a request to process a keyboard accelerator. 326 // It is a request to process a keyboard accelerator.
324 // Request: 327 // Request:
325 // -MSG: The keyboard message 328 // -MSG: The keyboard message
326 // Response: 329 // Response:
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 1001
999 // Sent when the automation mouse event has been processed. 1002 // Sent when the automation mouse event has been processed.
1000 IPC_MESSAGE_ROUTED2(AutomationMsg_ProcessMouseEventACK, 1003 IPC_MESSAGE_ROUTED2(AutomationMsg_ProcessMouseEventACK,
1001 bool /* success */, 1004 bool /* success */,
1002 std::string /* error message */) 1005 std::string /* error message */)
1003 1006
1004 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. 1007 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE.
1005 // This is the section for renderer -> browser automation messages. If it is 1008 // This is the section for renderer -> browser automation messages. If it is
1006 // an automation <-> browser message, put it above this section. The "no line 1009 // an automation <-> browser message, put it above this section. The "no line
1007 // number change" applies only to the automation <-> browser messages. 1010 // number change" applies only to the automation <-> browser messages.
OLDNEW
« no previous file with comments | « chrome/browser/ui/tabs/pinned_tab_service.cc ('k') | chrome/common/chrome_notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698