OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This header is meant to be included in multiple passes, hence no traditional | 7 // This header is meant to be included in multiple passes, hence no traditional |
8 // header guard. | 8 // header guard. |
9 // See ipc_message_macros.h for explanation of the macros and passes. | 9 // See ipc_message_macros.h for explanation of the macros and passes. |
10 | 10 |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 // reflect any accelerator keys that it did not process. This gives the | 546 // reflect any accelerator keys that it did not process. This gives the |
547 // tab a chance to handle the keys | 547 // tab a chance to handle the keys |
548 // Request: | 548 // Request: |
549 // - int: handle of the tab | 549 // - int: handle of the tab |
550 // -MSG: The keyboard message that the container did not handle | 550 // -MSG: The keyboard message that the container did not handle |
551 // Response: | 551 // Response: |
552 // None expected | 552 // None expected |
553 IPC_MESSAGE_ROUTED2(AutomationMsg_ProcessUnhandledAccelerator, int, MSG) | 553 IPC_MESSAGE_ROUTED2(AutomationMsg_ProcessUnhandledAccelerator, int, MSG) |
554 #endif // defined(OS_WIN) | 554 #endif // defined(OS_WIN) |
555 | 555 |
556 // Sent by the external tab to the host to notify that the user has tabbed | |
557 // out of the tab. | |
558 // Request: | |
559 // - bool: |reverse| set to true when shift-tabbing out of the tab, false | |
560 // otherwise. | |
561 // Response: | |
562 // None expected | |
563 IPC_MESSAGE_ROUTED1(AutomationMsg_TabbedOut, bool) | |
564 | |
565 // Sent by the external tab host to ask focus to be set to either the first | |
566 // or last element on the page. | |
567 // Request: | |
568 // - int: handle of the tab | |
569 // - bool: |reverse| | |
570 // true: Focus will be set to the last focusable element | |
571 // false: Focus will be set to the first focusable element | |
572 // Response: | |
573 // None expected | |
574 IPC_MESSAGE_ROUTED2(AutomationMsg_SetInitialFocus, int, bool) | |
575 | |
576 // This message is an outgoing message from Chrome to an external host. | 556 // This message is an outgoing message from Chrome to an external host. |
577 // It is a request to open a url | 557 // It is a request to open a url |
578 // Request: | 558 // Request: |
579 // -GURL: The URL to open | 559 // -GURL: The URL to open |
580 // -int: The WindowOpenDisposition that specifies where the URL should | 560 // -int: The WindowOpenDisposition that specifies where the URL should |
581 // be opened (new tab, new window etc). | 561 // be opened (new tab, new window etc). |
582 // Response: | 562 // Response: |
583 // None expected | 563 // None expected |
584 IPC_MESSAGE_ROUTED2(AutomationMsg_OpenURL, GURL, int) | 564 IPC_MESSAGE_ROUTED2(AutomationMsg_OpenURL, GURL, int) |
585 | 565 |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 std::wstring /* overrided encoding name */) | 887 std::wstring /* overrided encoding name */) |
908 IPC_MESSAGE_ROUTED1(AutomationMsg_OverrideEncodingResponse, | 888 IPC_MESSAGE_ROUTED1(AutomationMsg_OverrideEncodingResponse, |
909 bool /* success */) | 889 bool /* success */) |
910 | 890 |
911 // Used to disable the dialog box that prompts the user for a path when | 891 // Used to disable the dialog box that prompts the user for a path when |
912 // saving a web page. | 892 // saving a web page. |
913 IPC_MESSAGE_ROUTED1(AutomationMsg_SavePackageShouldPromptUser, | 893 IPC_MESSAGE_ROUTED1(AutomationMsg_SavePackageShouldPromptUser, |
914 bool /* false if we want to not show the dialog */) | 894 bool /* false if we want to not show the dialog */) |
915 | 895 |
916 IPC_END_MESSAGES(Automation) | 896 IPC_END_MESSAGES(Automation) |
OLD | NEW |