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

Unified Diff: chrome/browser/ui/touch/frame/touch_browser_frame_view.h

Issue 8400059: Revert 107715 - Enable the new layer animation framework. (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
« no previous file with comments | « no previous file | chrome/browser/ui/touch/frame/touch_browser_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/touch/frame/touch_browser_frame_view.h
===================================================================
--- chrome/browser/ui/touch/frame/touch_browser_frame_view.h (revision 107719)
+++ chrome/browser/ui/touch/frame/touch_browser_frame_view.h (working copy)
@@ -8,11 +8,15 @@
#include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h"
+#include "content/browser/sensors/sensors_provider.h"
+#include "content/common/sensors.h"
+
class BrowserFrame;
class BrowserView;
class TouchBrowserFrameView
- : public OpaqueBrowserFrameView {
+ : public OpaqueBrowserFrameView,
+ public sensors::Listener {
public:
// Internal class name.
static const char kViewClassName[];
@@ -21,6 +25,10 @@
TouchBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
virtual ~TouchBrowserFrameView();
+ // sensors::Listener implementation
+ virtual void OnScreenOrientationChanged(
+ const sensors::ScreenOrientation& change) OVERRIDE;
+
private:
// Overridden from views::View
virtual std::string GetClassName() const OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/ui/touch/frame/touch_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698