| 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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 // Gets statistics about the v8 heap in a renderer process. | 798 // Gets statistics about the v8 heap in a renderer process. |
| 799 void GetV8HeapStats(Browser* browser, | 799 void GetV8HeapStats(Browser* browser, |
| 800 base::DictionaryValue* args, | 800 base::DictionaryValue* args, |
| 801 IPC::Message* reply_message); | 801 IPC::Message* reply_message); |
| 802 | 802 |
| 803 // Gets the current FPS associated with a renderer process view. | 803 // Gets the current FPS associated with a renderer process view. |
| 804 void GetFPS(Browser* browser, | 804 void GetFPS(Browser* browser, |
| 805 base::DictionaryValue* args, | 805 base::DictionaryValue* args, |
| 806 IPC::Message* reply_message); | 806 IPC::Message* reply_message); |
| 807 | 807 |
| 808 // Gets the current memory usage statistics |
| 809 void GetGpuMemStats(Browser* browser, |
| 810 base::DictionaryValue* args, |
| 811 IPC::Message* reply_message); |
| 812 |
| 808 // Fullscreen and Mouse Lock hooks. They take no JSON parameters. | 813 // Fullscreen and Mouse Lock hooks. They take no JSON parameters. |
| 809 void IsFullscreenForBrowser(Browser* browser, | 814 void IsFullscreenForBrowser(Browser* browser, |
| 810 base::DictionaryValue* args, | 815 base::DictionaryValue* args, |
| 811 IPC::Message* reply_message); | 816 IPC::Message* reply_message); |
| 812 void IsFullscreenForTab(Browser* browser, | 817 void IsFullscreenForTab(Browser* browser, |
| 813 base::DictionaryValue* args, | 818 base::DictionaryValue* args, |
| 814 IPC::Message* reply_message); | 819 IPC::Message* reply_message); |
| 815 void IsMouseLocked(Browser* browser, | 820 void IsMouseLocked(Browser* browser, |
| 816 base::DictionaryValue* args, | 821 base::DictionaryValue* args, |
| 817 IPC::Message* reply_message); | 822 IPC::Message* reply_message); |
| (...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1583 ImportSettingsData import_settings_data_; | 1588 ImportSettingsData import_settings_data_; |
| 1584 | 1589 |
| 1585 // The automation event observer queue. It is lazily created when an observer | 1590 // The automation event observer queue. It is lazily created when an observer |
| 1586 // is added to avoid overhead when not needed. | 1591 // is added to avoid overhead when not needed. |
| 1587 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1592 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
| 1588 | 1593 |
| 1589 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1594 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1590 }; | 1595 }; |
| 1591 | 1596 |
| 1592 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1597 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |