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

Unified Diff: ash/common/wm/immersive/wm_immersive_fullscreen_controller_delegate.h

Issue 2265563002: Shuffles around immersive related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@immersive_pure_virtual
Patch Set: move comment Created 4 years, 4 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 | « ash/common/wm/immersive/wm_immersive_fullscreen_controller.h ('k') | ash/common/wm/immersive_context_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ash/common/wm/immersive/wm_immersive_fullscreen_controller.h ('k') | ash/common/wm/immersive_context_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698