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

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
« no previous file with comments | « components/web_view/pending_web_view_load.cc ('k') | components/web_view/url_request_cloneable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2808cfde6e44edea2cc42ef1a87cae48c0e1f7e2..429088213c5594413e5bc582f2c25a94c26944da 100644
--- a/components/web_view/public/interfaces/frame.mojom
+++ b/components/web_view/public/interfaces/frame.mojom
@@ -143,12 +143,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);
« no previous file with comments | « components/web_view/pending_web_view_load.cc ('k') | components/web_view/url_request_cloneable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698