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

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, 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 unified diff | Download patch | Annotate | Revision Log
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 }
20
21 namespace ui { 17 namespace ui {
22 class LayerAnimator; 18 class LayerAnimator;
23 } 19 }
24 20
25 namespace wm { 21 namespace wm {
26 class FocusRules; 22 class FocusRules;
27 } 23 }
28 24
29 namespace athena { 25 namespace athena {
30 26
(...skipping 28 matching lines...) Expand all
59 // widget without specific parent. 55 // widget without specific parent.
60 virtual aura::Window* CreateDefaultContainer( 56 virtual aura::Window* CreateDefaultContainer(
61 const ContainerParams& params) = 0; 57 const ContainerParams& params) = 0;
62 58
63 // Creates the container window on the screen. 59 // Creates the container window on the screen.
64 virtual aura::Window* CreateContainer(const ContainerParams& params) = 0; 60 virtual aura::Window* CreateContainer(const ContainerParams& params) = 0;
65 61
66 // Return the context object to be used for widget creation. 62 // Return the context object to be used for widget creation.
67 virtual aura::Window* GetContext() = 0; 63 virtual aura::Window* GetContext() = 0;
68 64
69 // Sets the background image.
70 virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0;
71
72 // Set screen rotation. 65 // Set screen rotation.
73 // TODO(flackr): Extract and use ash DisplayManager to set rotation 66 // TODO(flackr): Extract and use ash DisplayManager to set rotation
74 // instead: http://crbug.com/401044. 67 // instead: http://crbug.com/401044.
75 virtual void SetRotation(gfx::Display::Rotation rotation) = 0; 68 virtual void SetRotation(gfx::Display::Rotation rotation) = 0;
76 69
77 // Returns the LayerAnimator to use to animate the entire screen (e.g. fade 70 // Returns the LayerAnimator to use to animate the entire screen (e.g. fade
78 // screen to white). 71 // screen to white).
79 virtual ui::LayerAnimator* GetScreenAnimator() = 0; 72 virtual ui::LayerAnimator* GetScreenAnimator() = 0;
80 73
81 // Create a focus rules. 74 // Create a focus rules.
82 // TODO(oshima): Make this virtual function. 75 // TODO(oshima): Make this virtual function.
83 static wm::FocusRules* CreateFocusRules(); 76 static wm::FocusRules* CreateFocusRules();
84 }; 77 };
85 78
86 } // namespace athena 79 } // namespace athena
87 80
88 #endif // ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_ 81 #endif // ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698