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

Side by Side Diff: athena/system/public/system_ui.h

Issue 431183003: Rotate screen in response to accelerator or device orientation sensors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dependencies on ipc and content. 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_SYSTEM_PUBLIC_SYSTEM_UI_H_ 5 #ifndef ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_
6 #define ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_ 6 #define ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_
7 7
8 #include "athena/athena_export.h" 8 #include "athena/athena_export.h"
9 #include "base/memory/ref_counted.h"
10
11 namespace base {
12 class TaskRunner;
13 }
9 14
10 namespace athena { 15 namespace athena {
11 16
12 class ATHENA_EXPORT SystemUI { 17 class ATHENA_EXPORT SystemUI {
13 public: 18 public:
14 // Creates and deletes the singleton object of the SystemUI implementation. 19 // Creates and deletes the singleton object of the SystemUI implementation.
15 static SystemUI* Create(); 20 static SystemUI* Create(scoped_refptr<base::TaskRunner> io_task_runner);
16 static void Shutdown(); 21 static void Shutdown();
17 22
18 virtual ~SystemUI() {} 23 virtual ~SystemUI() {}
19 }; 24 };
20 25
21 } // namespace athena 26 } // namespace athena
22 27
23 #endif // ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_ 28 #endif // ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698