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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 module web_view.mojom; 5 module web_view.mojom;
6 6
7 import "network/public/interfaces/url_loader.mojom"; 7 import "network/public/interfaces/url_loader.mojom";
8 8
9 // This files defines the interfaces and structures used for frames. 9 // This files defines the interfaces and structures used for frames.
10 // 10 //
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 interface FrameClient { 133 interface FrameClient {
134 // Called once per client. |frame_data| gives the contents of the tree. 134 // Called once per client. |frame_data| gives the contents of the tree.
135 // |view_id| is the id of the view the FrameClient should render to. If a 135 // |view_id| is the id of the view the FrameClient should render to. If a
136 // ViewTreeClient is asked for then |view_id| is the same id as that of the 136 // ViewTreeClient is asked for then |view_id| is the same id as that of the
137 // View supplied to ViewTreeClient::OnEmbed(). 137 // View supplied to ViewTreeClient::OnEmbed().
138 OnConnect(Frame? frame, 138 OnConnect(Frame? frame,
139 uint32 change_id, 139 uint32 change_id,
140 uint32 view_id, 140 uint32 view_id,
141 ViewConnectType view_connect_type, 141 ViewConnectType view_connect_type,
142 array<FrameData>? frame_data) => (); 142 array<FrameData>? frame_data,
143 int64 navigation_start_time_ticks) => ();
sky 2015/10/14 22:46:24 Document what navigation_start_time_ticks is.
yzshen1 2015/10/14 22:59:16 Done.
143 144
144 // Called when a new frame is added to the tree. 145 // Called when a new frame is added to the tree.
145 OnFrameAdded(uint32 change_id, FrameData frame_data); 146 OnFrameAdded(uint32 change_id, FrameData frame_data);
146 147
147 // Called when a frame is removed from the tree. 148 // Called when a frame is removed from the tree.
148 OnFrameRemoved(uint32 change_id, uint32 frame_id); 149 OnFrameRemoved(uint32 change_id, uint32 frame_id);
149 150
150 // Called when a client property changes. 151 // Called when a client property changes.
151 OnFrameClientPropertyChanged(uint32 frame_id, 152 OnFrameClientPropertyChanged(uint32 frame_id,
152 string name, 153 string name,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // HighlightFindResults() is about highlighting all the instances of the text. 200 // HighlightFindResults() is about highlighting all the instances of the text.
200 // 201 //
201 // HighlightFindResults() will asynchronously call 202 // HighlightFindResults() will asynchronously call
202 // OnFindInFrameCountUpdated() multiple times to report its progress. 203 // OnFindInFrameCountUpdated() multiple times to report its progress.
203 HighlightFindResults(int32 request_id, string search_test, bool reset); 204 HighlightFindResults(int32 request_id, string search_test, bool reset);
204 205
205 // Removes the tick marks and highlighting done by HighlightFindResults() in 206 // Removes the tick marks and highlighting done by HighlightFindResults() in
206 // this frame. 207 // this frame.
207 StopHighlightingFindResults(); 208 StopHighlightingFindResults();
208 }; 209 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698