Index: services/navigation/public/interfaces/view.mojom |
diff --git a/services/navigation/public/interfaces/view.mojom b/services/navigation/public/interfaces/view.mojom |
index 0ceead80299b89cfd606403d1ca48a86cadd9657..099ce46eb96bd7d0a5828e3a31b0f6280991e20c 100644 |
--- a/services/navigation/public/interfaces/view.mojom |
+++ b/services/navigation/public/interfaces/view.mojom |
@@ -4,8 +4,6 @@ |
module navigation.mojom; |
-import "components/mus/public/interfaces/window_tree.mojom"; |
-import "ui/mojo/geometry/geometry.mojom"; |
import "url/mojo/url.mojom"; |
interface ViewFactory { |
@@ -14,29 +12,8 @@ |
interface ViewClient { |
LoadingStateChanged(bool is_loading); |
- NavigationStateChanged(url.mojom.Url url, |
- string title, |
- bool can_go_back, |
- bool can_go_forward); |
- LoadProgressChanged(double progress); |
- ViewCreated(View view, |
- ViewClient& client, |
- bool is_popup, |
- mojo.Rect initial_rect, |
- bool user_gesture); |
- Close(); |
}; |
interface View { |
- // Navigates the view to |url|. |
- NavigateTo(url.mojom.Url url); |
- |
- GoBack(); |
- GoForward(); |
- Reload(bool skip_cache); |
- Stop(); |
- |
- // Obtains a Mus WindowTreeClient for the View, so it can be embedded in a |
- // UI. |
- GetWindowTreeClient(mus.mojom.WindowTreeClient& client); |
+ LoadUrl(url.mojom.Url url); |
}; |