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

Unified Diff: chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/OverviewModeBehavior.java

Issue 1206673003: Merge java_staging/src into java/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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
Index: chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/OverviewModeBehavior.java
diff --git a/chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/OverviewModeBehavior.java b/chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/OverviewModeBehavior.java
deleted file mode 100644
index 72f088108d593910e695dcf69f715d86cc646f7b..0000000000000000000000000000000000000000
--- a/chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/OverviewModeBehavior.java
+++ /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.
-
-package org.chromium.chrome.browser.compositor.layouts;
-
-/**
- * Exposes the current overview mode state as well as a way to listen to overview mode state
- * changes.
- */
-public interface OverviewModeBehavior {
- /**
- * An observer that is notified when the overview mode state changes.
- */
- public interface OverviewModeObserver {
- /**
- * Called when overview mode starts showing.
- * @param showToolbar Whether or not to show the normal toolbar when animating into overview
- * mode.
- */
- void onOverviewModeStartedShowing(boolean showToolbar);
-
- /**
- * Called when overview mode finishes showing.
- */
- void onOverviewModeFinishedShowing();
-
- /**
- * Called when overview mode starts hiding.
- * @param showToolbar Whether or not to show the normal toolbar when animating out of
- * overview mode.
- * @param delayAnimation Whether or not to delay any related overview animations until after
- * overview mode is finished hiding.
- */
- void onOverviewModeStartedHiding(boolean showToolbar, boolean delayAnimation);
-
- /**
- * Called when overview mode finishes hiding.
- */
- void onOverviewModeFinishedHiding();
- }
-
- /**
- * @return Whether or not the overview {@link Layout} is visible.
- */
- boolean overviewVisible();
-
- /**
- * @param listener Registers {@code listener} for overview mode status changes.
- */
- void addOverviewModeObserver(OverviewModeObserver listener);
-
- /**
- * @param listener Unregisters {@code listener} for overview mode status changes.
- */
- void removeOverviewModeObserver(OverviewModeObserver listener);
-}

Powered by Google App Engine
This is Rietveld 408576698