OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |