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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // will return true, stop top-loading-frame tracking, and potentially finish | 143 // will return true, stop top-loading-frame tracking, and potentially finish |
144 // the test (unless testRunner.waitUntilDone() was called and/or there are | 144 // the test (unless testRunner.waitUntilDone() was called and/or there are |
145 // pending load requests in WorkQueue). | 145 // pending load requests in WorkQueue). |
146 bool tryToClearTopLoadingFrame(blink::WebFrame*); | 146 bool tryToClearTopLoadingFrame(blink::WebFrame*); |
147 | 147 |
148 blink::WebFrame* topLoadingFrame() const; | 148 blink::WebFrame* topLoadingFrame() const; |
149 void policyDelegateDone(); | 149 void policyDelegateDone(); |
150 bool policyDelegateEnabled() const; | 150 bool policyDelegateEnabled() const; |
151 bool policyDelegateIsPermissive() const; | 151 bool policyDelegateIsPermissive() const; |
152 bool policyDelegateShouldNotifyDone() const; | 152 bool policyDelegateShouldNotifyDone() const; |
153 bool shouldInterceptPostMessage() const; | |
154 bool shouldDumpResourcePriorities() const; | 153 bool shouldDumpResourcePriorities() const; |
155 void setToolTipText(const blink::WebString&); | 154 void setToolTipText(const blink::WebString&); |
156 void setDragImage(const blink::WebImage& drag_image); | 155 void setDragImage(const blink::WebImage& drag_image); |
157 bool shouldDumpNavigationPolicy() const; | 156 bool shouldDumpNavigationPolicy() const; |
158 | 157 |
159 bool midiAccessorResult(); | 158 bool midiAccessorResult(); |
160 | 159 |
161 // Methods used by MockColorChooser: | 160 // Methods used by MockColorChooser: |
162 void DidOpenChooser(); | 161 void DidOpenChooser(); |
163 void DidCloseChooser(); | 162 void DidCloseChooser(); |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 std::set<blink::WebWidget*> widgets_with_scheduled_animations_; | 633 std::set<blink::WebWidget*> widgets_with_scheduled_animations_; |
635 | 634 |
636 base::WeakPtrFactory<TestRunner> weak_factory_; | 635 base::WeakPtrFactory<TestRunner> weak_factory_; |
637 | 636 |
638 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 637 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
639 }; | 638 }; |
640 | 639 |
641 } // namespace test_runner | 640 } // namespace test_runner |
642 | 641 |
643 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 642 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
OLD | NEW |