| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 navigation.mojom; | 5 module navigation.mojom; |
| 6 | 6 |
| 7 import "services/ui/public/interfaces/window_tree.mojom"; | 7 import "services/ui/public/interfaces/window_tree.mojom"; |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; | 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 9 import "url/mojo/url.mojom"; | 9 import "url/mojo/url.mojom"; |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 NavigationEntryChanged(NavigationEntry entry, int32 entry_index); | 104 NavigationEntryChanged(NavigationEntry entry, int32 entry_index); |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 interface View { | 107 interface View { |
| 108 // Navigates the view to |url|. | 108 // Navigates the view to |url|. |
| 109 NavigateTo(url.mojom.Url url); | 109 NavigateTo(url.mojom.Url url); |
| 110 | 110 |
| 111 GoBack(); | 111 GoBack(); |
| 112 GoForward(); | 112 GoForward(); |
| 113 NavigateToOffset(int32 offset); | 113 NavigateToOffset(int32 offset); |
| 114 Reload(bool skip_cache); | 114 Reload(bool bypass_cache); |
| 115 Stop(); | 115 Stop(); |
| 116 | 116 |
| 117 // Obtains a Mus WindowTreeClient for the View, so it can be embedded in a | 117 // Obtains a Mus WindowTreeClient for the View, so it can be embedded in a |
| 118 // UI. | 118 // UI. |
| 119 GetWindowTreeClient(ui.mojom.WindowTreeClient& client); | 119 GetWindowTreeClient(ui.mojom.WindowTreeClient& client); |
| 120 | 120 |
| 121 ShowInterstitial(string html); | 121 ShowInterstitial(string html); |
| 122 HideInterstitial(); | 122 HideInterstitial(); |
| 123 }; | 123 }; |
| OLD | NEW |