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

Unified Diff: mandoline/tab/public/interfaces/frame_tree.mojom

Issue 1239313004: More html_viewer OOPIF changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile Created 5 years, 5 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 | « mandoline/tab/frame_tree.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/tab/public/interfaces/frame_tree.mojom
diff --git a/mandoline/tab/public/interfaces/frame_tree.mojom b/mandoline/tab/public/interfaces/frame_tree.mojom
index 0582fe57629317ab0feb0badc48ebaa5321a94ee..6965cb841c9bb79499ededaadcb6163683f9aa2b 100644
--- a/mandoline/tab/public/interfaces/frame_tree.mojom
+++ b/mandoline/tab/public/interfaces/frame_tree.mojom
@@ -23,6 +23,12 @@ struct FrameData {
// 0 if the frame has no parent (its the root).
uint32 parent_id;
uint32 frame_id;
+
+ string? name;
+ // TODO(sky): this is not being propagated correctly. It needs to be updated
+ // along with deciding if we want to keep NavigatorHost.
+ string origin;
+ uint32 sandbox_flags;
};
struct MessageEvent {
@@ -44,6 +50,8 @@ interface FrameTreeServer {
// Called when the progress for this frame changes. Will only be called while
// a load is in progress.
ProgressChanged(double progress);
+
+ SetFrameName(string? name);
};
interface FrameTreeClient {
@@ -57,4 +65,8 @@ interface FrameTreeClient {
// Called when a frame is removed from the tree. This is not called on the
// originator of the change.
OnFrameRemoved(uint32 frame_id);
+
+ // Called when the name of a frame changes. This is not called on the
+ // originator of the change.
+ OnFrameNameChanged(uint32 frame_id, string name);
};
« no previous file with comments | « mandoline/tab/frame_tree.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698