Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(823)

Unified Diff: services/navigation/public/interfaces/view.mojom

Issue 1986003002: Revert of Add a basic browser to mash that uses the navigation service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/navigation/public/interfaces/BUILD.gn ('k') | services/navigation/view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « services/navigation/public/interfaces/BUILD.gn ('k') | services/navigation/view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698