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

Side by Side Diff: chrome/browser/ui/views/frame/immersive_mode_controller_ash.h

Issue 15734011: Correct immersive mode gestures under rotation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed sadrul's comments Created 7 years, 7 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_
7 7
8 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" 8 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
9 9
10 #include "base/timer.h" 10 #include "base/timer.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 scoped_ptr<AnchoredWidgetManager> anchored_widget_manager_; 251 scoped_ptr<AnchoredWidgetManager> anchored_widget_manager_;
252 252
253 content::NotificationRegistrar registrar_; 253 content::NotificationRegistrar registrar_;
254 254
255 base::WeakPtrFactory<ImmersiveModeControllerAsh> weak_ptr_factory_; 255 base::WeakPtrFactory<ImmersiveModeControllerAsh> weak_ptr_factory_;
256 256
257 // Tracks if the controller has seen a ET_GESTURE_SCROLL_BEGIN, without the 257 // Tracks if the controller has seen a ET_GESTURE_SCROLL_BEGIN, without the
258 // following events. 258 // following events.
259 bool gesture_begun_; 259 bool gesture_begun_;
260 260
261 // Inset size needed to guarantee that even under rotation the filter will see
262 // relevant events.
263 int bezel_inset_;
264
261 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh); 265 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh);
262 }; 266 };
263 267
264 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ 268 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698