Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: components/test_runner/test_runner.h

Issue 1926773002: TestRunner: add method to instrument autoplay settings and set default value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autoplay-htmlmedialement
Patch Set: fix tests Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/test_runner/mock_content_settings_client.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698