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 "ash/wm/immersive_fullscreen_controller.h" | 10 #include "ash/wm/immersive_fullscreen_controller.h" |
11 #include "ash/wm/window_state_observer.h" | 11 #include "ash/wm/window_state_observer.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
15 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
16 | 17 |
17 namespace aura { | 18 namespace aura { |
18 class Window; | 19 class Window; |
19 } | 20 } |
20 | 21 |
21 class ImmersiveModeControllerAsh | 22 class ImmersiveModeControllerAsh |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // the top-of-window views are not revealed regardless of | 94 // the top-of-window views are not revealed regardless of |
94 // |use_tab_indicators_|. | 95 // |use_tab_indicators_|. |
95 double visible_fraction_; | 96 double visible_fraction_; |
96 | 97 |
97 content::NotificationRegistrar registrar_; | 98 content::NotificationRegistrar registrar_; |
98 | 99 |
99 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh); | 100 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh); |
100 }; | 101 }; |
101 | 102 |
102 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ | 103 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ |
OLD | NEW |