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

Side by Side Diff: content/public/test/layouttest_support.h

Issue 2652123002: PlzNavigate: Attempt to fix blink layout tests which fail due to duplicate output from WebFrameClie… (Closed)
Patch Set: Fix redness Created 3 years, 10 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 | « content/child/request_extra_data.cc ('k') | content/renderer/render_frame_impl.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 (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
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_
OLDNEW
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698