OLD | NEW |
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 // Defines the IPC messages used by the automation interface. | 5 // Defines the IPC messages used by the automation interface. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 FilePath, | 646 FilePath, |
647 int, | 647 int, |
648 bool) | 648 bool) |
649 | 649 |
650 // This message requests the text currently being displayed in the | 650 // This message requests the text currently being displayed in the |
651 // AutocompleteEdit. The parameter is the handle to the AutocompleteEdit. | 651 // AutocompleteEdit. The parameter is the handle to the AutocompleteEdit. |
652 // The return value is a string indicating the text in the AutocompleteEdit. | 652 // The return value is a string indicating the text in the AutocompleteEdit. |
653 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_AutocompleteEditGetText, | 653 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_AutocompleteEditGetText, |
654 int /* autocomplete edit handle */, | 654 int /* autocomplete edit handle */, |
655 bool /* the requested autocomplete edit exists */, | 655 bool /* the requested autocomplete edit exists */, |
656 std::wstring /* omnibox text */) | 656 string16 /* omnibox text */) |
657 | 657 |
658 // This message sets the text being displayed in the AutocompleteEdit. The | 658 // This message sets the text being displayed in the AutocompleteEdit. The |
659 // first parameter is the handle to the omnibox and the second parameter is | 659 // first parameter is the handle to the omnibox and the second parameter is |
660 // the text to be displayed in the AutocompleteEdit. | 660 // the text to be displayed in the AutocompleteEdit. |
661 // The return value has no parameters and is returned when the operation has | 661 // The return value has no parameters and is returned when the operation has |
662 // completed. | 662 // completed. |
663 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_AutocompleteEditSetText, | 663 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_AutocompleteEditSetText, |
664 int /* autocomplete edit handle */, | 664 int /* autocomplete edit handle */, |
665 std::wstring /* text to set */, | 665 string16 /* text to set */, |
666 bool /* the requested autocomplete edit exists */) | 666 bool /* the requested autocomplete edit exists */) |
667 | 667 |
668 // This message requests if a query to a autocomplete provider is still in | 668 // This message requests if a query to a autocomplete provider is still in |
669 // progress. The first parameter in the request is the handle to the | 669 // progress. The first parameter in the request is the handle to the |
670 // autocomplete edit. | 670 // autocomplete edit. |
671 // The first return value indicates if the request succeeded. | 671 // The first return value indicates if the request succeeded. |
672 // The second return value indicates if a query is still in progress. | 672 // The second return value indicates if a query is still in progress. |
673 IPC_SYNC_MESSAGE_CONTROL1_2( \ | 673 IPC_SYNC_MESSAGE_CONTROL1_2( \ |
674 AutomationMsg_AutocompleteEditIsQueryInProgress, | 674 AutomationMsg_AutocompleteEditIsQueryInProgress, |
675 int /* autocomplete edit handle*/, | 675 int /* autocomplete edit handle*/, |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1438 int, | 1438 int, |
1439 FilePath, | 1439 FilePath, |
1440 bool) | 1440 bool) |
1441 | 1441 |
1442 // Notify the JavaScript engine in the render to change its parameters | 1442 // Notify the JavaScript engine in the render to change its parameters |
1443 // while performing stress testing. | 1443 // while performing stress testing. |
1444 IPC_MESSAGE_ROUTED3(AutomationMsg_JavaScriptStressTestControl, | 1444 IPC_MESSAGE_ROUTED3(AutomationMsg_JavaScriptStressTestControl, |
1445 int /* tab handle */, | 1445 int /* tab handle */, |
1446 int /* command */, | 1446 int /* command */, |
1447 int /* type or run */) | 1447 int /* type or run */) |
OLD | NEW |