OLD | NEW |
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 // 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 // int - the handle of the window that's the context for this click | 412 // int - the handle of the window that's the context for this click |
413 // gfx::Point - the point to click | 413 // gfx::Point - the point to click |
414 // int - the flags which identify the mouse button(s) for the click, as | 414 // int - the flags which identify the mouse button(s) for the click, as |
415 // defined in chrome/views/event.h | 415 // defined in chrome/views/event.h |
416 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowClick, int, gfx::Point, int) | 416 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowClick, int, gfx::Point, int) |
417 #endif // defined(OS_WIN) | 417 #endif // defined(OS_WIN) |
418 | 418 |
419 // This message requests that a key press be performed. | 419 // This message requests that a key press be performed. |
420 // Request: | 420 // Request: |
421 // int - the handle of the window that's the context for this click | 421 // int - the handle of the window that's the context for this click |
422 // int - the app::KeyboardCode of the key that was pressed. | 422 // int - the base::KeyboardCode of the key that was pressed. |
423 // int - the flags which identify the modifiers (shift, ctrl, alt) | 423 // int - the flags which identify the modifiers (shift, ctrl, alt) |
424 // associated for, as defined in chrome/views/event.h | 424 // associated for, as defined in chrome/views/event.h |
425 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowKeyPress, int, int, int) | 425 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowKeyPress, int, int, int) |
426 | 426 |
427 // This message notifies the AutomationProvider to create a tab which is | 427 // This message notifies the AutomationProvider to create a tab which is |
428 // hosted by an external process. | 428 // hosted by an external process. |
429 // Request: | 429 // Request: |
430 // ExternalTabSettings - settings for external tab | 430 // ExternalTabSettings - settings for external tab |
431 IPC_SYNC_MESSAGE_ROUTED1_3(AutomationMsg_CreateExternalTab, | 431 IPC_SYNC_MESSAGE_ROUTED1_3(AutomationMsg_CreateExternalTab, |
432 IPC::ExternalTabSettings /* settings*/, | 432 IPC::ExternalTabSettings /* settings*/, |
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1422 | 1422 |
1423 // This message sets the current zoom level on the tab | 1423 // This message sets the current zoom level on the tab |
1424 // Request: | 1424 // Request: |
1425 // -int: Tab handle | 1425 // -int: Tab handle |
1426 // -int: Zoom level. Values ZOOM_OUT = -1, RESET = 0, ZOOM_IN = 1 | 1426 // -int: Zoom level. Values ZOOM_OUT = -1, RESET = 0, ZOOM_IN = 1 |
1427 // Response: | 1427 // Response: |
1428 // None expected | 1428 // None expected |
1429 IPC_MESSAGE_ROUTED2(AutomationMsg_SetZoomLevel, int, int) | 1429 IPC_MESSAGE_ROUTED2(AutomationMsg_SetZoomLevel, int, int) |
1430 | 1430 |
1431 IPC_END_MESSAGES(Automation) | 1431 IPC_END_MESSAGES(Automation) |
OLD | NEW |