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 <string> | 9 #include <string> |
10 | 10 |
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 void BuildSimpleWebKeyEvent(WebKit::WebInputEvent::Type type, | 840 void BuildSimpleWebKeyEvent(WebKit::WebInputEvent::Type type, |
841 int windows_key_code, | 841 int windows_key_code, |
842 NativeWebKeyboardEvent* event); | 842 NativeWebKeyboardEvent* event); |
843 | 843 |
844 // Sends a key press event using the given key code to the specified tab. | 844 // Sends a key press event using the given key code to the specified tab. |
845 // A key press is a combination of a "key down" event and a "key up" event. | 845 // A key press is a combination of a "key down" event and a "key up" event. |
846 // This function does not wait before returning. | 846 // This function does not wait before returning. |
847 void SendWebKeyPressEventAsync(int key_code, | 847 void SendWebKeyPressEventAsync(int key_code, |
848 TabContents* tab_contents); | 848 TabContents* tab_contents); |
849 | 849 |
850 // Determines whether each relevant section of the NTP is in thumbnail mode. | |
851 void GetNTPThumbnailMode(Browser* browser, | |
852 base::DictionaryValue* args, | |
853 IPC::Message* reply_message); | |
854 | |
855 // Puts or removes the specified section of the NTP into/from thumbnail mode. | |
856 // If the section is put into thumbnail mode, all other relevant sections are | |
857 // removed from thumbnail mode. | |
858 void SetNTPThumbnailMode(Browser* browser, | |
859 base::DictionaryValue* args, | |
860 IPC::Message* reply_message); | |
861 | |
862 // Determines whether each relevant section of the NTP is in menu mode. | |
863 void GetNTPMenuMode(Browser* browser, | |
864 base::DictionaryValue* args, | |
865 IPC::Message* reply_message); | |
866 | |
867 // Puts or removes the specified section of the NTP into/from menu mode. | |
868 void SetNTPMenuMode(Browser* browser, | |
869 base::DictionaryValue* args, | |
870 IPC::Message* reply_message); | |
871 | |
872 // Launches the specified app from the currently-selected tab. | 850 // Launches the specified app from the currently-selected tab. |
873 void LaunchApp(Browser* browser, | 851 void LaunchApp(Browser* browser, |
874 base::DictionaryValue* args, | 852 base::DictionaryValue* args, |
875 IPC::Message* reply_message); | 853 IPC::Message* reply_message); |
876 | 854 |
877 // Sets the launch type for the specified app. | 855 // Sets the launch type for the specified app. |
878 void SetAppLaunchType(Browser* browser, | 856 void SetAppLaunchType(Browser* browser, |
879 base::DictionaryValue* args, | 857 base::DictionaryValue* args, |
880 IPC::Message* reply_message); | 858 IPC::Message* reply_message); |
881 | 859 |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1419 // Used to enumerate browser profiles. | 1397 // Used to enumerate browser profiles. |
1420 scoped_refptr<ImporterList> importer_list_; | 1398 scoped_refptr<ImporterList> importer_list_; |
1421 | 1399 |
1422 // The stored data for the ImportSettings operation. | 1400 // The stored data for the ImportSettings operation. |
1423 ImportSettingsData import_settings_data_; | 1401 ImportSettingsData import_settings_data_; |
1424 | 1402 |
1425 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1403 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1426 }; | 1404 }; |
1427 | 1405 |
1428 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1406 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |