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

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

Issue 1381003004: Better distinguish didFinishLoad and didStopLoading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 <deque> 8 #include <deque>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool shouldDumpPingLoaderCallbacks() const; 98 bool shouldDumpPingLoaderCallbacks() const;
99 bool shouldDumpUserGestureInFrameLoadCallbacks() const; 99 bool shouldDumpUserGestureInFrameLoadCallbacks() const;
100 bool shouldDumpTitleChanges() const; 100 bool shouldDumpTitleChanges() const;
101 bool shouldDumpIconChanges() const; 101 bool shouldDumpIconChanges() const;
102 bool shouldDumpCreateView() const; 102 bool shouldDumpCreateView() const;
103 bool canOpenWindows() const; 103 bool canOpenWindows() const;
104 bool shouldDumpResourceLoadCallbacks() const; 104 bool shouldDumpResourceLoadCallbacks() const;
105 bool shouldDumpResourceRequestCallbacks() const; 105 bool shouldDumpResourceRequestCallbacks() const;
106 bool shouldDumpResourceResponseMIMETypes() const; 106 bool shouldDumpResourceResponseMIMETypes() const;
107 bool shouldDumpStatusCallbacks() const; 107 bool shouldDumpStatusCallbacks() const;
108 bool shouldDumpProgressFinishedCallback() const;
109 bool shouldDumpSpellCheckCallbacks() const; 108 bool shouldDumpSpellCheckCallbacks() const;
110 bool shouldWaitUntilExternalURLLoad() const; 109 bool shouldWaitUntilExternalURLLoad() const;
111 const std::set<std::string>* httpHeadersToClear() const; 110 const std::set<std::string>* httpHeadersToClear() const;
112 void setTopLoadingFrame(blink::WebFrame*, bool); 111 void setTopLoadingFrame(blink::WebFrame*, bool);
113 blink::WebFrame* topLoadingFrame() const; 112 blink::WebFrame* topLoadingFrame() const;
114 void policyDelegateDone(); 113 void policyDelegateDone();
115 bool policyDelegateEnabled() const; 114 bool policyDelegateEnabled() const;
116 bool policyDelegateIsPermissive() const; 115 bool policyDelegateIsPermissive() const;
117 bool policyDelegateShouldNotifyDone() const; 116 bool policyDelegateShouldNotifyDone() const;
118 bool shouldInterceptPostMessage() const; 117 bool shouldInterceptPostMessage() const;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 void SetPluginsAllowed(bool allowed); 428 void SetPluginsAllowed(bool allowed);
430 void SetAllowDisplayOfInsecureContent(bool allowed); 429 void SetAllowDisplayOfInsecureContent(bool allowed);
431 void SetAllowRunningOfInsecureContent(bool allowed); 430 void SetAllowRunningOfInsecureContent(bool allowed);
432 void DumpPermissionClientCallbacks(); 431 void DumpPermissionClientCallbacks();
433 432
434 // This function sets a flag that tells the test_shell to dump all calls 433 // This function sets a flag that tells the test_shell to dump all calls
435 // to window.status(). 434 // to window.status().
436 // It takes no arguments, and ignores any that may be present. 435 // It takes no arguments, and ignores any that may be present.
437 void DumpWindowStatusChanges(); 436 void DumpWindowStatusChanges();
438 437
439 // This function sets a flag that tells the test_shell to print a line of
440 // descriptive text for the progress finished callback. It takes no
441 // arguments, and ignores any that may be present.
442 void DumpProgressFinishedCallback();
443
444 // This function sets a flag that tells the test_shell to dump all 438 // This function sets a flag that tells the test_shell to dump all
445 // the lines of descriptive text about spellcheck execution. 439 // the lines of descriptive text about spellcheck execution.
446 void DumpSpellCheckCallbacks(); 440 void DumpSpellCheckCallbacks();
447 441
448 // This function sets a flag that tells the test_shell to print out a text 442 // This function sets a flag that tells the test_shell to print out a text
449 // representation of the back/forward list. It ignores all arguments. 443 // representation of the back/forward list. It ignores all arguments.
450 void DumpBackForwardList(); 444 void DumpBackForwardList();
451 445
452 void DumpSelectionRect(); 446 void DumpSelectionRect();
453 447
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 // request callback. 757 // request callback.
764 bool dump_resource_request_callbacks_; 758 bool dump_resource_request_callbacks_;
765 759
766 // If true, the test_shell will output the MIME type for each resource that 760 // If true, the test_shell will output the MIME type for each resource that
767 // was loaded. 761 // was loaded.
768 bool dump_resource_response_mime_types_; 762 bool dump_resource_response_mime_types_;
769 763
770 // If true, the test_shell will dump all changes to window.status. 764 // If true, the test_shell will dump all changes to window.status.
771 bool dump_window_status_changes_; 765 bool dump_window_status_changes_;
772 766
773 // If true, the test_shell will output a descriptive line for the progress
774 // finished callback.
775 bool dump_progress_finished_callback_;
776
777 // If true, the test_shell will output descriptive test for spellcheck 767 // If true, the test_shell will output descriptive test for spellcheck
778 // execution. 768 // execution.
779 bool dump_spell_check_callbacks_; 769 bool dump_spell_check_callbacks_;
780 770
781 // If true, the test_shell will produce a dump of the back forward list as 771 // If true, the test_shell will produce a dump of the back forward list as
782 // well. 772 // well.
783 bool dump_back_forward_list_; 773 bool dump_back_forward_list_;
784 774
785 // If true, the test_shell will draw the bounds of the current selection rect 775 // If true, the test_shell will draw the bounds of the current selection rect
786 // taking possible transforms of the selection rect into account. 776 // taking possible transforms of the selection rect into account.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 bool use_mock_theme_; 832 bool use_mock_theme_;
843 833
844 base::WeakPtrFactory<TestRunner> weak_factory_; 834 base::WeakPtrFactory<TestRunner> weak_factory_;
845 835
846 DISALLOW_COPY_AND_ASSIGN(TestRunner); 836 DISALLOW_COPY_AND_ASSIGN(TestRunner);
847 }; 837 };
848 838
849 } // namespace test_runner 839 } // namespace test_runner
850 840
851 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 841 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/password_autofill_agent.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698