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

Unified Diff: third_party/WebKit/public/web/WebSourceLocation.h

Issue 2720763002: PlzNavigate: preserve SourceLocation when navigating (Closed)
Patch Set: Fix rebase compilation issues Created 3 years, 9 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 | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebSourceLocation.h
diff --git a/third_party/WebKit/public/web/WebSourceLocation.h b/third_party/WebKit/public/web/WebSourceLocation.h
new file mode 100644
index 0000000000000000000000000000000000000000..bb3bf978e14533e37a012213300c85aec7093c50
--- /dev/null
+++ b/third_party/WebKit/public/web/WebSourceLocation.h
@@ -0,0 +1,23 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebSourceLocation_h
+#define WebSourceLocation_h
+
+#include "third_party/WebKit/public/platform/WebString.h"
+
+namespace blink {
+
+// PlzNavigate
+// This struct is passed to the browser when navigating, so that console error
+// messages due to the navigation do not lose the source location information.
+struct WebSourceLocation {
+ WebString url;
+ unsigned lineNumber = 0;
+ unsigned columnNumber = 0;
+};
+
+} // namespace blink
+
+#endif
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698