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 module mojo.examples; | 5 module mojo.examples; |
6 | 6 |
7 import "mojo/services/navigation/public/interfaces/navigation.mojom"; | 7 import "mojo/services/navigation/interfaces/navigation.mojom"; |
8 | 8 |
9 interface DebugPanelHost { | 9 interface DebugPanelHost { |
10 // Closes the top. | 10 // Closes the top. |
11 CloseTopWindow(); | 11 CloseTopWindow(); |
12 | 12 |
13 // Sends a navigate request. | 13 // Sends a navigate request. |
14 NavigateTo(string url); | 14 NavigateTo(string url); |
15 | 15 |
16 // Sets the navigation target. | 16 // Sets the navigation target. |
17 SetNavigationTarget(mojo.Target target); | 17 SetNavigationTarget(mojo.Target target); |
18 }; | 18 }; |
OLD | NEW |