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

Side by Side Diff: mandoline/tab/public/interfaces/web_view.mojom

Issue 1314953002: Rename ViewManagerService,ViewManagerClient -> ViewTree,ViewTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « mandoline/tab/public/cpp/web_view.cc ('k') | mandoline/tab/test_frame_tree_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 web_view.mojom; 5 module web_view.mojom;
6 6
7 import "network/public/interfaces/url_loader.mojom"; 7 import "network/public/interfaces/url_loader.mojom";
8 import "components/view_manager/public/interfaces/view_manager.mojom"; 8 import "components/view_manager/public/interfaces/view_tree.mojom";
9 9
10 interface WebViewClient { 10 interface WebViewClient {
11 // Page-generated request for a top level frame navigation. 11 // Page-generated request for a top level frame navigation.
12 TopLevelNavigate(mojo.URLRequest request); 12 TopLevelNavigate(mojo.URLRequest request);
13 13
14 // Loading and progress notifications. 14 // Loading and progress notifications.
15 LoadingStateChanged(bool is_loading); 15 LoadingStateChanged(bool is_loading);
16 ProgressChanged(double progress); 16 ProgressChanged(double progress);
17 }; 17 };
18 18
19 interface WebView { 19 interface WebView {
20 // Navigate the top level frame to |request|. 20 // Navigate the top level frame to |request|.
21 LoadRequest(mojo.URLRequest request); 21 LoadRequest(mojo.URLRequest request);
22 22
23 // Provide a ViewManagerClient for this specific WebView. 23 // Provide a ViewTreeClient for this specific WebView.
24 GetViewManagerClient(mojo.ViewManagerClient& view_manager_client); 24 GetViewTreeClient(mojo.ViewTreeClient& view_tree_client);
25 }; 25 };
26 26
27 interface WebViewFactory { 27 interface WebViewFactory {
28 CreateWebView(WebViewClient client, WebView& web_view); 28 CreateWebView(WebViewClient client, WebView& web_view);
29 }; 29 };
OLDNEW
« no previous file with comments | « mandoline/tab/public/cpp/web_view.cc ('k') | mandoline/tab/test_frame_tree_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698