Index: ash/common/wm/immersive/wm_immersive_fullscreen_controller_delegate.h |
diff --git a/ash/common/wm/immersive/wm_immersive_fullscreen_controller_delegate.h b/ash/common/wm/immersive/wm_immersive_fullscreen_controller_delegate.h |
deleted file mode 100644 |
index 1b1b95ae46bfbed9d091552ad4959c053b2437bc..0000000000000000000000000000000000000000 |
--- a/ash/common/wm/immersive/wm_immersive_fullscreen_controller_delegate.h |
+++ /dev/null |
@@ -1,47 +0,0 @@ |
-// Copyright 2016 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. |
- |
-#ifndef ASH_COMMON_WM_IMMERSIVE_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_DELEGATE_H_ |
-#define ASH_COMMON_WM_IMMERSIVE_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_DELEGATE_H_ |
- |
-#include <vector> |
- |
-#include "ash/ash_export.h" |
- |
-namespace gfx { |
-class Rect; |
-} |
- |
-namespace ash { |
- |
-class ASH_EXPORT WmImmersiveFullscreenControllerDelegate { |
- public: |
- // Called when a reveal of the top-of-window views starts. |
- virtual void OnImmersiveRevealStarted() = 0; |
- |
- // Called when the top-of-window views have finished closing. This call |
- // implies a visible fraction of 0. SetVisibleFraction(0) may not be called |
- // prior to OnImmersiveRevealEnded(). |
- virtual void OnImmersiveRevealEnded() = 0; |
- |
- // Called as a result of disabling immersive fullscreen via SetEnabled(). |
- virtual void OnImmersiveFullscreenExited() = 0; |
- |
- // Called to update the fraction of the top-of-window views height which is |
- // visible. |
- virtual void SetVisibleFraction(double visible_fraction) = 0; |
- |
- // Returns a list of rects whose union makes up the top-of-window views. |
- // The returned list is used for hittesting when the top-of-window views |
- // are revealed. GetVisibleBoundsInScreen() must return a valid value when |
- // not in immersive fullscreen for the sake of SetupForTest(). |
- virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() const = 0; |
- |
- protected: |
- virtual ~WmImmersiveFullscreenControllerDelegate() {} |
-}; |
- |
-} // namespace ash |
- |
-#endif // ASH_COMMON_WM_IMMERSIVE_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_DELEGATE_H_ |