| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/common/wm/window_state_observer.h" | |
| 11 #include "ash/shared/immersive_fullscreen_controller.h" | 10 #include "ash/shared/immersive_fullscreen_controller.h" |
| 12 #include "ash/shared/immersive_fullscreen_controller_delegate.h" | 11 #include "ash/shared/immersive_fullscreen_controller_delegate.h" |
| 12 #include "ash/wm/window_state_observer.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 14 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
| 15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 16 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
| 17 #include "ui/aura/window_observer.h" | 17 #include "ui/aura/window_observer.h" |
| 18 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 19 | 19 |
| 20 namespace aura { | 20 namespace aura { |
| 21 class Window; | 21 class Window; |
| 22 } | 22 } |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // When running in mash a widget is created to draw the top container. This | 106 // When running in mash a widget is created to draw the top container. This |
| 107 // widget does not actually contain the top container, it just renders it. | 107 // widget does not actually contain the top container, it just renders it. |
| 108 std::unique_ptr<views::Widget> mash_reveal_widget_; | 108 std::unique_ptr<views::Widget> mash_reveal_widget_; |
| 109 | 109 |
| 110 content::NotificationRegistrar registrar_; | 110 content::NotificationRegistrar registrar_; |
| 111 | 111 |
| 112 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh); | 112 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerAsh); |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ | 115 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_ASH_H_ |
| OLD | NEW |