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 <deque> | 8 #include <deque> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 // This function sets a flag that tells the test_shell to dump the MIME type | 419 // This function sets a flag that tells the test_shell to dump the MIME type |
420 // for each resource that was loaded. It takes no arguments, and ignores any | 420 // for each resource that was loaded. It takes no arguments, and ignores any |
421 // that may be present. | 421 // that may be present. |
422 void DumpResourceResponseMIMETypes(); | 422 void DumpResourceResponseMIMETypes(); |
423 | 423 |
424 // WebContentSettingsClient related. | 424 // WebContentSettingsClient related. |
425 void SetImagesAllowed(bool allowed); | 425 void SetImagesAllowed(bool allowed); |
426 void SetMediaAllowed(bool allowed); | 426 void SetMediaAllowed(bool allowed); |
427 void SetScriptsAllowed(bool allowed); | 427 void SetScriptsAllowed(bool allowed); |
428 void SetStorageAllowed(bool allowed); | 428 void SetStorageAllowed(bool allowed); |
| 429 void SetKeygenAllowed(bool allowed); |
429 void SetPluginsAllowed(bool allowed); | 430 void SetPluginsAllowed(bool allowed); |
430 void SetAllowDisplayOfInsecureContent(bool allowed); | 431 void SetAllowDisplayOfInsecureContent(bool allowed); |
431 void SetAllowRunningOfInsecureContent(bool allowed); | 432 void SetAllowRunningOfInsecureContent(bool allowed); |
432 void DumpPermissionClientCallbacks(); | 433 void DumpPermissionClientCallbacks(); |
433 | 434 |
434 // This function sets a flag that tells the test_shell to dump all calls | 435 // This function sets a flag that tells the test_shell to dump all calls |
435 // to window.status(). | 436 // to window.status(). |
436 // It takes no arguments, and ignores any that may be present. | 437 // It takes no arguments, and ignores any that may be present. |
437 void DumpWindowStatusChanges(); | 438 void DumpWindowStatusChanges(); |
438 | 439 |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 bool use_mock_theme_; | 843 bool use_mock_theme_; |
843 | 844 |
844 base::WeakPtrFactory<TestRunner> weak_factory_; | 845 base::WeakPtrFactory<TestRunner> weak_factory_; |
845 | 846 |
846 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 847 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
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 |