OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 void DumpResourceResponseMIMETypes(); | 398 void DumpResourceResponseMIMETypes(); |
399 | 399 |
400 // WebContentSettingsClient related. | 400 // WebContentSettingsClient related. |
401 void SetImagesAllowed(bool allowed); | 401 void SetImagesAllowed(bool allowed); |
402 void SetMediaAllowed(bool allowed); | 402 void SetMediaAllowed(bool allowed); |
403 void SetScriptsAllowed(bool allowed); | 403 void SetScriptsAllowed(bool allowed); |
404 void SetStorageAllowed(bool allowed); | 404 void SetStorageAllowed(bool allowed); |
405 void SetPluginsAllowed(bool allowed); | 405 void SetPluginsAllowed(bool allowed); |
406 void SetAllowDisplayOfInsecureContent(bool allowed); | 406 void SetAllowDisplayOfInsecureContent(bool allowed); |
407 void SetAllowRunningOfInsecureContent(bool allowed); | 407 void SetAllowRunningOfInsecureContent(bool allowed); |
| 408 void SetAutoplayAllowed(bool allowed); |
408 void DumpPermissionClientCallbacks(); | 409 void DumpPermissionClientCallbacks(); |
409 | 410 |
410 // This function sets a flag that tells the test_shell to dump all calls | 411 // This function sets a flag that tells the test_shell to dump all calls |
411 // to window.status(). | 412 // to window.status(). |
412 // It takes no arguments, and ignores any that may be present. | 413 // It takes no arguments, and ignores any that may be present. |
413 void DumpWindowStatusChanges(); | 414 void DumpWindowStatusChanges(); |
414 | 415 |
415 // This function sets a flag that tells the test_shell to dump all | 416 // This function sets a flag that tells the test_shell to dump all |
416 // the lines of descriptive text about spellcheck execution. | 417 // the lines of descriptive text about spellcheck execution. |
417 void DumpSpellCheckCallbacks(); | 418 void DumpSpellCheckCallbacks(); |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 WebTestProxyBase* web_test_proxy_base_; | 843 WebTestProxyBase* web_test_proxy_base_; |
843 | 844 |
844 base::WeakPtrFactory<TestRunnerForSpecificView> weak_factory_; | 845 base::WeakPtrFactory<TestRunnerForSpecificView> weak_factory_; |
845 | 846 |
846 DISALLOW_COPY_AND_ASSIGN(TestRunnerForSpecificView); | 847 DISALLOW_COPY_AND_ASSIGN(TestRunnerForSpecificView); |
847 }; | 848 }; |
848 | 849 |
849 } // namespace test_runner | 850 } // namespace test_runner |
850 | 851 |
851 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 852 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
OLD | NEW |