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

Side by Side Diff: athena/screen/public/screen_manager.h

Issue 483363003: [Athena] Add status icons and system time to the desktop background (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « athena/screen/background_controller.cc ('k') | athena/screen/screen_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_ 5 #ifndef ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_
6 #define ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_ 6 #define ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "athena/athena_export.h" 10 #include "athena/athena_export.h"
11 #include "ui/gfx/display.h" 11 #include "ui/gfx/display.h"
12 12
13 namespace aura { 13 namespace aura {
14 class Window; 14 class Window;
15 } 15 }
16 16
17 namespace gfx {
18 class ImageSkia;
19 class Insets;
20 }
21
22 namespace ui { 17 namespace ui {
23 class LayerAnimator; 18 class LayerAnimator;
24 } 19 }
25 20
26 namespace wm { 21 namespace wm {
27 class FocusRules; 22 class FocusRules;
28 } 23 }
29 24
30 namespace athena { 25 namespace athena {
31 class ScreenManagerDelegate; 26 class ScreenManagerDelegate;
(...skipping 29 matching lines...) Expand all
61 // widget without specific parent. 56 // widget without specific parent.
62 virtual aura::Window* CreateDefaultContainer( 57 virtual aura::Window* CreateDefaultContainer(
63 const ContainerParams& params) = 0; 58 const ContainerParams& params) = 0;
64 59
65 // Creates the container window on the screen. 60 // Creates the container window on the screen.
66 virtual aura::Window* CreateContainer(const ContainerParams& params) = 0; 61 virtual aura::Window* CreateContainer(const ContainerParams& params) = 0;
67 62
68 // Return the context object to be used for widget creation. 63 // Return the context object to be used for widget creation.
69 virtual aura::Window* GetContext() = 0; 64 virtual aura::Window* GetContext() = 0;
70 65
71 // Sets the background image.
72 virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0;
73
74 // Set screen rotation. 66 // Set screen rotation.
75 // TODO(flackr): Extract and use ash DisplayManager to set rotation 67 // TODO(flackr): Extract and use ash DisplayManager to set rotation
76 // instead: http://crbug.com/401044. 68 // instead: http://crbug.com/401044.
77 virtual void SetRotation(gfx::Display::Rotation rotation) = 0; 69 virtual void SetRotation(gfx::Display::Rotation rotation) = 0;
78 70
79 // Returns the LayerAnimator to use to animate the entire screen (e.g. fade 71 // Returns the LayerAnimator to use to animate the entire screen (e.g. fade
80 // screen to white). 72 // screen to white).
81 virtual ui::LayerAnimator* GetScreenAnimator() = 0; 73 virtual ui::LayerAnimator* GetScreenAnimator() = 0;
82 }; 74 };
83 75
84 } // namespace athena 76 } // namespace athena
85 77
86 #endif // ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_ 78 #endif // ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_
OLDNEW
« no previous file with comments | « athena/screen/background_controller.cc ('k') | athena/screen/screen_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698