Chromium Code Reviews| 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 #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 "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 765 DictionaryValue* args, | 765 DictionaryValue* args, |
| 766 IPC::Message* reply_message); | 766 IPC::Message* reply_message); |
| 767 | 767 |
| 768 // Sends a web keyboard event to the active tab. This should not trigger any | 768 // Sends a web keyboard event to the active tab. This should not trigger any |
| 769 // browser hotkeys. | 769 // browser hotkeys. |
| 770 // Uses the JSON interface for input/output. | 770 // Uses the JSON interface for input/output. |
| 771 void SendKeyEventToActiveTab(Browser* browser, | 771 void SendKeyEventToActiveTab(Browser* browser, |
| 772 DictionaryValue* args, | 772 DictionaryValue* args, |
| 773 IPC::Message* reply_message); | 773 IPC::Message* reply_message); |
| 774 | 774 |
| 775 // Sends a web keyboard event to the active browser window. | |
| 776 // Uses the JSON interface for input/output. | |
| 777 void SendKeyEventToActiveBrowserWindow(Browser* browser, | |
| 778 DictionaryValue* args, | |
| 779 IPC::Message* reply_message); | |
| 780 | |
| 781 bool BuildNativeWebKeyEventFromArgs(DictionaryValue* args, | |
|
Paweł Hajdan Jr.
2011/03/08 09:25:13
nit: This should have a brief comment.
timothe faudot
2011/03/08 09:34:23
Done.
| |
| 782 IPC::Message* reply_message, | |
| 783 NativeWebKeyboardEvent* event); | |
| 784 | |
| 785 | |
| 775 // Determines whether each relevant section of the NTP is in thumbnail mode. | 786 // Determines whether each relevant section of the NTP is in thumbnail mode. |
| 776 void GetNTPThumbnailMode(Browser* browser, | 787 void GetNTPThumbnailMode(Browser* browser, |
| 777 DictionaryValue* args, | 788 DictionaryValue* args, |
| 778 IPC::Message* reply_message); | 789 IPC::Message* reply_message); |
| 779 | 790 |
| 780 // Puts or removes the specified section of the NTP into/from thumbnail mode. | 791 // Puts or removes the specified section of the NTP into/from thumbnail mode. |
| 781 // If the section is put into thumbnail mode, all other relevant sections are | 792 // If the section is put into thumbnail mode, all other relevant sections are |
| 782 // removed from thumbnail mode. | 793 // removed from thumbnail mode. |
| 783 void SetNTPThumbnailMode(Browser* browser, | 794 void SetNTPThumbnailMode(Browser* browser, |
| 784 DictionaryValue* args, | 795 DictionaryValue* args, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 889 // Used to enumerate browser profiles. | 900 // Used to enumerate browser profiles. |
| 890 scoped_refptr<ImporterList> importer_list_; | 901 scoped_refptr<ImporterList> importer_list_; |
| 891 | 902 |
| 892 // The stored data for the ImportSettings operation. | 903 // The stored data for the ImportSettings operation. |
| 893 ImportSettingsData import_settings_data_; | 904 ImportSettingsData import_settings_data_; |
| 894 | 905 |
| 895 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 906 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 896 }; | 907 }; |
| 897 | 908 |
| 898 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 909 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |