OLD | NEW |
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 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1530 void CaptureProfilePhoto(Browser* browser, | 1530 void CaptureProfilePhoto(Browser* browser, |
1531 DictionaryValue* args, | 1531 DictionaryValue* args, |
1532 IPC::Message* reply_message); | 1532 IPC::Message* reply_message); |
1533 | 1533 |
1534 // Html terminal. | 1534 // Html terminal. |
1535 void OpenCrosh(base::DictionaryValue* args, IPC::Message* reply_message); | 1535 void OpenCrosh(base::DictionaryValue* args, IPC::Message* reply_message); |
1536 | 1536 |
1537 void AddChromeosObservers(); | 1537 void AddChromeosObservers(); |
1538 void RemoveChromeosObservers(); | 1538 void RemoveChromeosObservers(); |
1539 | 1539 |
| 1540 // ASH accelerator. |
| 1541 // Example: |
| 1542 // input: {"action": 42} - For available actions see AcceleratorAction in |
| 1543 // ash/accelerators/accelerator_table.h |
| 1544 // output: {"handled": True} - Whether the accelerator was handled |
| 1545 void RunAshCommand(base::DictionaryValue* args, IPC::Message* reply_message); |
| 1546 |
1540 #endif // defined(OS_CHROMEOS) | 1547 #endif // defined(OS_CHROMEOS) |
1541 | 1548 |
1542 void WaitForTabCountToBecome(int browser_handle, | 1549 void WaitForTabCountToBecome(int browser_handle, |
1543 int target_tab_count, | 1550 int target_tab_count, |
1544 IPC::Message* reply_message); | 1551 IPC::Message* reply_message); |
1545 | 1552 |
1546 void WaitForInfoBarCount(int tab_handle, | 1553 void WaitForInfoBarCount(int tab_handle, |
1547 size_t target_count, | 1554 size_t target_count, |
1548 IPC::Message* reply_message); | 1555 IPC::Message* reply_message); |
1549 | 1556 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1583 ImportSettingsData import_settings_data_; | 1590 ImportSettingsData import_settings_data_; |
1584 | 1591 |
1585 // The automation event observer queue. It is lazily created when an observer | 1592 // The automation event observer queue. It is lazily created when an observer |
1586 // is added to avoid overhead when not needed. | 1593 // is added to avoid overhead when not needed. |
1587 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1594 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
1588 | 1595 |
1589 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1596 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1590 }; | 1597 }; |
1591 | 1598 |
1592 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1599 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |