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

Unified Diff: components/web_view/public/interfaces/frame.mojom

Issue 1391963004: Correctly record and pass around navigation start time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: components/web_view/public/interfaces/frame.mojom
diff --git a/components/web_view/public/interfaces/frame.mojom b/components/web_view/public/interfaces/frame.mojom
index ffe1f8f933dabb160440726605bb44f7ab318e58..4c8587953d2d2ce239d02b2d171c86d1350d4f29 100644
--- a/components/web_view/public/interfaces/frame.mojom
+++ b/components/web_view/public/interfaces/frame.mojom
@@ -134,12 +134,15 @@ interface FrameClient {
// Called once per client. |frame_data| gives the contents of the tree.
// |view_id| is the id of the view the FrameClient should render to. If a
// ViewTreeClient is asked for then |view_id| is the same id as that of the
- // View supplied to ViewTreeClient::OnEmbed().
+ // View supplied to ViewTreeClient::OnEmbed(). |navigation_start_time_ticks|
+ // is the time when the navigation resulting in this OnConnect() call was
+ // started.
OnConnect(Frame? frame,
uint32 change_id,
uint32 view_id,
ViewConnectType view_connect_type,
- array<FrameData>? frame_data) => ();
+ array<FrameData>? frame_data,
+ int64 navigation_start_time_ticks) => ();
// Called when a new frame is added to the tree.
OnFrameAdded(uint32 change_id, FrameData frame_data);

Powered by Google App Engine
This is Rietveld 408576698