Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/SceneOverlay.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/SceneOverlay.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/SceneOverlay.java |
index b0ad4b336fdec46a56c5c4f95e05f978c63eb88e..685dcf324dc23215360e861117ae4c4f9113706d 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/SceneOverlay.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/SceneOverlay.java |
@@ -30,6 +30,13 @@ public interface SceneOverlay { |
ResourceManager resourceManager, float yOffset); |
/** |
+ * Notify the layout that a SceneOverlay is visible. If not visible, the content tree will not |
+ * be modified. |
+ * @return True if the SceneOverlay tree is showing. |
+ */ |
+ boolean isSceneOverlayTreeShowing(); |
+ |
+ /** |
* @return The {@link EventFilter} that processes events for this {@link SceneOverlay}. |
*/ |
EventFilter getEventFilter(); |