OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 module mojo.navigation { | |
6 | |
7 struct NavigationDetails { | |
8 string url; | |
9 // TODO(aa): method, data, etc. | |
10 }; | |
11 | |
12 // Applications implement this interface to support navigation of their views | |
sky
2014/06/10 22:15:14
Your use of view here and below is confusing (and
Aaron Boodman
2014/06/10 22:31:31
Ah, you are right, I started with view_id, but cha
| |
13 // by embedders. | |
14 interface ViewNavigator { | |
15 Navigate(uint32 view_id, NavigationDetails details); | |
16 }; | |
17 | |
18 } | |
OLD | NEW |