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

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

Issue 10875070: Makes workspace 2 show an alternate background (system background) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add delay Created 8 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/wm/window_animations.cc ('k') | ash/wm/workspace/system_background_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/system_background_controller.h
diff --git a/ash/wm/workspace/system_background_controller.h b/ash/wm/workspace/system_background_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..ab3d926a927b6d5ed917a795fe77a3fa5fd7448a
--- /dev/null
+++ b/ash/wm/workspace/system_background_controller.h
@@ -0,0 +1,37 @@
+// 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_SYSTEM_BACKGROUND_CONTROLLER_H_
+#define ASH_WM_WORKSPACE_SYSTEM_BACKGROUND_CONTROLLER_H_
+
+#include "ash/ash_export.h"
+#include "base/basictypes.h"
+
+namespace aura {
+class RootWindow;
+};
+
+namespace ash {
+namespace internal {
+
+// SystemBackgroundController shows the system level background.
Ben Goodger (Google) 2012/08/27 15:50:47 Maybe explain here too what a system background is
+class ASH_EXPORT SystemBackgroundController {
+ public:
+ explicit SystemBackgroundController(aura::RootWindow* root);
+ ~SystemBackgroundController();
+
+ 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(SystemBackgroundController);
+};
+
+} // namespace internal
+} // namespace ash
+
+#endif // ASH_WM_WORKSPACE_SYSTEM_BACKGROUND_CONTROLLER_H_
« no previous file with comments | « ash/wm/window_animations.cc ('k') | ash/wm/workspace/system_background_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698