| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
| 15 #include "cc/layers/texture_layer.h" | 15 #include "cc/layers/texture_layer.h" |
| 16 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" | 16 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" |
| 17 | 17 |
| 18 class GURL; | 18 class GURL; |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 class WebDeviceMotionData; | 21 class WebDeviceMotionData; |
| 22 class WebDeviceOrientationData; | 22 class WebDeviceOrientationData; |
| 23 class WebInputEvent; | 23 class WebInputEvent; |
| 24 class WebLocalFrame; | 24 class WebLocalFrame; |
| 25 struct WebSize; | 25 struct WebSize; |
| 26 class WebURLRequest; |
| 26 class WebView; | 27 class WebView; |
| 27 class WebWidget; | 28 class WebWidget; |
| 28 class WebURLResponse; | 29 class WebURLResponse; |
| 29 } | 30 } |
| 30 | 31 |
| 31 namespace gfx { | 32 namespace gfx { |
| 32 class ICCProfile; | 33 class ICCProfile; |
| 33 } | 34 } |
| 34 | 35 |
| 35 namespace test_runner { | 36 namespace test_runner { |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 std::string DumpBackForwardList(std::vector<PageState>& page_state, | 170 std::string DumpBackForwardList(std::vector<PageState>& page_state, |
| 170 size_t current_index); | 171 size_t current_index); |
| 171 | 172 |
| 172 // Run all pending idle tasks immediately, and then invoke callback. | 173 // Run all pending idle tasks immediately, and then invoke callback. |
| 173 void SchedulerRunIdleTasks(const base::Closure& callback); | 174 void SchedulerRunIdleTasks(const base::Closure& callback); |
| 174 | 175 |
| 175 // Causes the RenderWidget corresponding to |render_frame| to update its | 176 // Causes the RenderWidget corresponding to |render_frame| to update its |
| 176 // TextInputState. | 177 // TextInputState. |
| 177 void ForceTextInputStateUpdateForRenderFrame(RenderFrame* render_frame); | 178 void ForceTextInputStateUpdateForRenderFrame(RenderFrame* render_frame); |
| 178 | 179 |
| 180 // PlzNavigate |
| 181 // Returns true if the navigation identified by the |request| was initiated by |
| 182 // the browser or renderer. |
| 183 bool IsNavigationInitiatedByRenderer(const blink::WebURLRequest& request); |
| 184 |
| 179 } // namespace content | 185 } // namespace content |
| 180 | 186 |
| 181 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 187 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| OLD | NEW |