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 |
index 3eb490ee6d32513f4fc15254166e4772c8e47eef..ba7efd2d9b0784743b42ecdc47fbfbcc6deab32f 100644 |
--- a/components/web_view/public/interfaces/web_view.mojom |
+++ b/components/web_view/public/interfaces/web_view.mojom |
@@ -14,6 +14,7 @@ interface WebViewClient { |
// Loading and progress notifications. |
LoadingStateChanged(bool is_loading); |
ProgressChanged(double progress); |
+ BackForwardChanged(bool back_enabled, bool forward_enabled); |
sky
2015/09/08 16:00:32
How about enums instead of bools?
|
// TODO(beng): also forward text direction. |
TitleChanged(string? title); |
@@ -25,6 +26,10 @@ interface WebView { |
// Provide a ViewTreeClient for this specific WebView. |
GetViewTreeClient(mojo.ViewTreeClient& view_tree_client); |
+ |
+ // Moves forward and backward. |
+ GoBack(); |
+ GoForward(); |
}; |
interface WebViewFactory { |