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

Unified 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, 11 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/layouttest_support.h
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h
index 074270b9a450880e6037b427e7ab44a3cbcb0d38..f23eafb34621394744ac5f3828ebfa390830d2b2 100644
--- a/content/public/test/layouttest_support.h
+++ b/content/public/test/layouttest_support.h
@@ -23,6 +23,7 @@ class WebDeviceOrientationData;
class WebInputEvent;
class WebLocalFrame;
struct WebSize;
+class WebURLRequest;
class WebView;
class WebWidget;
class WebURLResponse;
@@ -176,6 +177,11 @@ void SchedulerRunIdleTasks(const base::Closure& callback);
// TextInputState.
void ForceTextInputStateUpdateForRenderFrame(RenderFrame* render_frame);
+// PlzNavigate
+// Returns true if the navigation identified by the |request| was initiated by
+// the browser or renderer.
+bool IsNavigationInitiatedByRenderer(const blink::WebURLRequest& request);
+
} // namespace content
#endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
« 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