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

Unified Diff: chrome/browser/ui/touch/animation/screen_rotation_setter.h

Issue 8400062: Restore chrome/browser/ui/touch/animation/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
Index: chrome/browser/ui/touch/animation/screen_rotation_setter.h
diff --git a/chrome/browser/ui/touch/animation/screen_rotation_setter.h b/chrome/browser/ui/touch/animation/screen_rotation_setter.h
new file mode 100644
index 0000000000000000000000000000000000000000..aad8a0369fd46bf34bfa01b42da22c11f6a3a5e0
--- /dev/null
+++ b/chrome/browser/ui/touch/animation/screen_rotation_setter.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2011 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 CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_SETTER_H_
+#define CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_SETTER_H_
+#pragma once
+
+#include "views/layer_property_setter.h"
+
+namespace views {
+class View;
+}
+
+class ScreenRotationSetterFactory {
+ public:
+ // The setter will not own the view, and it is required that the view
+ // outlive the setter.
+ static views::LayerPropertySetter* Create(views::View* view);
+};
+
+#endif // CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_SETTER_H_
« no previous file with comments | « chrome/browser/ui/touch/animation/screen_rotation.cc ('k') | chrome/browser/ui/touch/animation/screen_rotation_setter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698