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

Unified Diff: ash/wm/workspace/colored_window_controller.h

Issue 99783005: Remove unused ColoredWindowController/DesktopBackgroundFadeController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/wm/session_state_animator.cc ('k') | ash/wm/workspace/colored_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/colored_window_controller.h
diff --git a/ash/wm/workspace/colored_window_controller.h b/ash/wm/workspace/colored_window_controller.h
deleted file mode 100644
index d70a83b7a310e3bcced4a0c4494471c7fed3463b..0000000000000000000000000000000000000000
--- a/ash/wm/workspace/colored_window_controller.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 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_WM_WORKSPACE_COLORED_WINDOW_CONTROLLER_H_
-#define ASH_WM_WORKSPACE_COLORED_WINDOW_CONTROLLER_H_
-
-#include <string>
-
-#include "ash/ash_export.h"
-#include "base/basictypes.h"
-
-typedef unsigned int SkColor;
-
-namespace aura {
-class Window;
-}
-
-namespace views {
-class Widget;
-}
-
-namespace ash {
-namespace internal {
-
-// ColoredWindowController creates a Widget whose layer is LAYER_SOLID_COLOR.
-// The Widget is sized to the supplied Window and parented to the specified
-// Window. It is used for animations.
-class ASH_EXPORT ColoredWindowController {
- public:
- ColoredWindowController(aura::Window* parent, const std::string& window_name);
- ~ColoredWindowController();
-
- // Changes the background color.
- void SetColor(SkColor color);
-
- views::Widget* GetWidget();
-
- private:
- class View;
-
- // View responsible for rendering the background. This is non-NULL if the
- // widget containing it is deleted. It is owned by the widget.
- View* view_;
-
- DISALLOW_COPY_AND_ASSIGN(ColoredWindowController);
-};
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_WM_WORKSPACE_COLORED_WINDOW_CONTROLLER_H_
« no previous file with comments | « ash/wm/session_state_animator.cc ('k') | ash/wm/workspace/colored_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698