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