Chromium Code Reviews| OLD | NEW |
|---|---|
| 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" | |
| 6 | |
| 5 module mojo.navigation { | 7 module mojo.navigation { |
| 6 | 8 |
| 7 struct NavigationDetails { | 9 struct NavigationDetails { |
| 8 string url; | 10 string url; |
| 11 mojo.URLResponse response; | |
|
Aaron Boodman
2014/06/18 17:33:00
I think that these should go in a separate struct,
| |
| 12 handle<data_pipe_consumer> response_body_stream; | |
| 13 | |
| 9 // TODO(aa): method, data, etc. | 14 // TODO(aa): method, data, etc. |
| 10 }; | 15 }; |
| 11 | 16 |
| 12 // Applications implement this interface to support navigation of their views | 17 // Applications implement this interface to support navigation of their views |
| 13 // by embedders. | 18 // by embedders. |
| 14 interface Navigator { | 19 interface Navigator { |
| 15 Navigate(uint32 node_id, NavigationDetails details); | 20 Navigate(uint32 node_id, NavigationDetails details); |
| 16 }; | 21 }; |
| 17 | 22 |
| 18 } | 23 } |
| OLD | NEW |