| Index: services/navigation/public/interfaces/view.mojom
|
| diff --git a/services/navigation/public/interfaces/view.mojom b/services/navigation/public/interfaces/view.mojom
|
| index 099ce46eb96bd7d0a5828e3a31b0f6280991e20c..0ceead80299b89cfd606403d1ca48a86cadd9657 100644
|
| --- a/services/navigation/public/interfaces/view.mojom
|
| +++ b/services/navigation/public/interfaces/view.mojom
|
| @@ -4,6 +4,8 @@
|
|
|
| module navigation.mojom;
|
|
|
| +import "components/mus/public/interfaces/window_tree.mojom";
|
| +import "ui/mojo/geometry/geometry.mojom";
|
| import "url/mojo/url.mojom";
|
|
|
| interface ViewFactory {
|
| @@ -12,8 +14,29 @@ interface ViewFactory {
|
|
|
| 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 {
|
| - LoadUrl(url.mojom.Url url);
|
| + // 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);
|
| };
|
|
|