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

Unified Diff: athena/system/orientation_controller.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « athena/system/network_selector.cc ('k') | athena/system/orientation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/system/orientation_controller.h
diff --git a/athena/system/orientation_controller.h b/athena/system/orientation_controller.h
deleted file mode 100644
index 17e9f3c69728f64daad611d67018806f9ce6acbd..0000000000000000000000000000000000000000
--- a/athena/system/orientation_controller.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 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 ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_
-#define ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
-#include "chromeos/accelerometer/accelerometer_reader.h"
-#include "ui/gfx/display.h"
-
-namespace base {
-class TaskRunner;
-}
-
-namespace athena {
-
-// Monitors accelerometers, detecting orientation changes. When a change is
-// detected rotates the root window to match.
-class OrientationController : public chromeos::AccelerometerReader::Observer {
- public:
- OrientationController();
- ~OrientationController() override;
-
- void InitWith(scoped_refptr<base::TaskRunner> blocking_task_runner);
- void Shutdown();
-
- // chromeos::AccelerometerReader::Observer:
- void OnAccelerometerUpdated(const ui::AccelerometerUpdate& update) override;
-
- private:
- // The last configured rotation.
- gfx::Display::Rotation current_rotation_;
-
- DISALLOW_COPY_AND_ASSIGN(OrientationController);
-};
-
-} // namespace athena
-
-#endif // ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_
« no previous file with comments | « athena/system/network_selector.cc ('k') | athena/system/orientation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698