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

Unified Diff: ash/wm/window_util.cc

Issue 42353002: Introduce WindowStateDelegate::ToggleFullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: ash/wm/window_util.cc
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
index 66a62433244842870080bf95a49fbc0fadef05fb..38db8bfb0f021ebc7c904e312af7e61decb60c08 100644
--- a/ash/wm/window_util.cc
+++ b/ash/wm/window_util.cc
@@ -62,10 +62,6 @@ void CenterWindow(aura::Window* window) {
window->SetBoundsInScreen(center, display);
}
-void SetAnimateToFullscreen(aura::Window* window, bool animate) {
- window->SetProperty(ash::internal::kAnimateToFullscreenKey, animate);
-}
-
void AdjustBoundsToEnsureMinimumWindowVisibility(const gfx::Rect& visible_area,
gfx::Rect* bounds) {
AdjustBoundsToEnsureWindowVisibility(

Powered by Google App Engine
This is Rietveld 408576698