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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java

Issue 2434893003: Hide the page info dialog if the underlying webcontents is hidden. (Closed)
Patch Set: Created 4 years, 2 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 | « content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java
index 0a42bb0eb27eed87a6b69a4a7942f63037ec8b90..5dd8096fe2b16e97b4037eb895b5a35d19ed187c 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java
@@ -83,6 +83,16 @@ public abstract class WebContentsObserver {
public void didFirstVisuallyNonEmptyPaint() {}
/**
+ * The web contents was shown.
+ */
+ public void wasShown() {}
+
+ /**
+ * The web contents was hidden.
+ */
+ public void wasHidden() {}
+
+ /**
* Similar to didNavigateMainFrame but also called on subframe navigations.
* @param url The validated url for the page.
* @param baseUrl The validated base url for the page.
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698