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

Unified Diff: components/web_view/public/interfaces/web_view.mojom

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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 | « components/web_view/public/interfaces/frame.mojom ('k') | components/web_view/reload_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/public/interfaces/web_view.mojom
diff --git a/components/web_view/public/interfaces/web_view.mojom b/components/web_view/public/interfaces/web_view.mojom
deleted file mode 100644
index 24deb904c7f93c3bb05a8098d5bee1504b4da5e1..0000000000000000000000000000000000000000
--- a/components/web_view/public/interfaces/web_view.mojom
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module web_view.mojom;
-
-import "components/mus/public/interfaces/window_tree.mojom";
-import "network/public/interfaces/url_loader.mojom";
-
-enum ButtonState {
- ENABLED,
- DISABLED,
-};
-
-interface WebViewClient {
- // Page-generated request for a top level frame navigation.
- TopLevelNavigateRequest(mojo.URLRequest request);
-
- // Notification that the navigation has started. This can be useful for
- // navigations triggered from sources other than the page itself (e.g.
- // back/forward history navigation).
- TopLevelNavigationStarted(string url);
-
- // Loading and progress notifications.
- LoadingStateChanged(bool is_loading, double progress);
- BackForwardChanged(ButtonState back_button, ButtonState forward_button);
-
- // TODO(beng): also forward text direction.
- TitleChanged(string? title);
-
- // Reports the number of matches for a given Find() call.
- FindInPageMatchCountUpdated(int32 request_id, int32 count, bool final_update);
-
- // Reports which find match is selected. (If there are five highlighted
- // matches on a page, and the 2nd is selected, |active_match_ordinal| is 2.)
- FindInPageSelectionUpdated(int32 request_id, int32 active_match_ordinal);
-};
-
-interface WebView {
- // Navigate the top level frame to |request|.
- LoadRequest(mojo.URLRequest request);
-
- // Provide a WindowTreeClient for this specific WebView.
- GetWindowTreeClient(mus.mojom.WindowTreeClient& window_tree_client);
-
- // Finds a string in page.
- Find(string search_text, bool forward_direction);
- StopFinding();
-
- // Moves forward and backward.
- GoBack();
- GoForward();
-};
-
-interface WebViewFactory {
- CreateWebView(WebViewClient client, WebView& web_view);
-};
« no previous file with comments | « components/web_view/public/interfaces/frame.mojom ('k') | components/web_view/reload_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698