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

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

Issue 1989103007: Test for form submission targeting remote frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unnecessary logging statements. 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
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 // Takes care of notifying the delegate after a change to layout test runtime 524 // Takes care of notifying the delegate after a change to layout test runtime
525 // flags. 525 // flags.
526 void OnLayoutTestRuntimeFlagsChanged(); 526 void OnLayoutTestRuntimeFlagsChanged();
527 527
528 /////////////////////////////////////////////////////////////////////////// 528 ///////////////////////////////////////////////////////////////////////////
529 // Internal helpers 529 // Internal helpers
530 530
531 bool IsFramePartOfMainTestWindow(blink::WebFrame*) const; 531 bool IsFramePartOfMainTestWindow(blink::WebFrame*) const;
532 532
533 void CheckResponseMimeType(); 533 void CheckResponseMimeType();
534 void CompleteNotifyDone();
535 534
536 // In the Mac code, this is called to trigger the end of a test after the 535 // In the Mac code, this is called to trigger the end of a test after the
537 // page has finished loading. From here, we can generate the dump for the 536 // page has finished loading. From here, we can generate the dump for the
538 // test. 537 // test.
539 void LocationChangeDone(); 538 void LocationChangeDone();
540 539
541 bool test_is_running_; 540 bool test_is_running_;
542 541
543 // When reset is called, go through and close all but the main test shell 542 // When reset is called, go through and close all but the main test shell
544 // window. By default, set to true but toggled to false using 543 // window. By default, set to true but toggled to false using
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 std::set<blink::WebWidget*> widgets_with_scheduled_animations_; 632 std::set<blink::WebWidget*> widgets_with_scheduled_animations_;
634 633
635 base::WeakPtrFactory<TestRunner> weak_factory_; 634 base::WeakPtrFactory<TestRunner> weak_factory_;
636 635
637 DISALLOW_COPY_AND_ASSIGN(TestRunner); 636 DISALLOW_COPY_AND_ASSIGN(TestRunner);
638 }; 637 };
639 638
640 } // namespace test_runner 639 } // namespace test_runner
641 640
642 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 641 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698