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

Side by Side Diff: mojo/services/navigation/navigation.mojom

Issue 342003006: Turn 'browser' app into a 'launcher_ui' app that window_manager embeds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 6 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 | Annotate | Revision Log
« mojo/examples/browser/browser.cc ('K') | « mojo/mojo_examples.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 import "../public/interfaces/network/url_loader.mojom" 5 import "../public/interfaces/network/url_loader.mojom"
6 6
7 module mojo.navigation { 7 module mojo.navigation {
8 8
9 struct NavigationDetails { 9 struct NavigationDetails {
10 string url; 10 string url;
11 mojo.URLResponse response; 11 mojo.URLResponse response;
12 handle<data_pipe_consumer> response_body_stream; 12 handle<data_pipe_consumer> response_body_stream;
13 13
14 // TODO(aa): method, data, etc. 14 // TODO(aa): method, data, etc.
15 }; 15 };
16 16
17 // Embedders that support navigation of implement this interface.
18 interface NavigatorHost {
19 RequestNavigate(uint32 source_node_id, NavigationDetails details);
20 };
21
17 // Applications implement this interface to support navigation of their views 22 // Applications implement this interface to support navigation of their views
18 // by embedders. 23 // by embedders.
19 interface Navigator { 24 interface Navigator {
20 Navigate(uint32 node_id, NavigationDetails details); 25 Navigate(uint32 node_id, NavigationDetails details);
21 }; 26 };
22 27
23 } 28 }
OLDNEW
« mojo/examples/browser/browser.cc ('K') | « mojo/mojo_examples.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698