Chromium Code Reviews| Index: mojo/services/navigation/navigation.mojom |
| diff --git a/mojo/services/navigation/navigation.mojom b/mojo/services/navigation/navigation.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c09ff4e34496319b7c1ff7da930f986a10ec0349 |
| --- /dev/null |
| +++ b/mojo/services/navigation/navigation.mojom |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module mojo.navigation { |
| + |
| +struct NavigationDetails { |
| + string url; |
| + // TODO(aa): method, data, etc. |
| +}; |
| + |
| +// 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
|
| +// by embedders. |
| +interface ViewNavigator { |
| + Navigate(uint32 view_id, NavigationDetails details); |
| +}; |
| + |
| +} |