| 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_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| 11 #include "chrome/browser/ui/host_desktop.h" | |
| 12 | 11 |
| 13 class BrowserView; | 12 class BrowserView; |
| 14 | 13 |
| 15 namespace gfx { | 14 namespace gfx { |
| 16 class Rect; | 15 class Rect; |
| 17 class Size; | 16 class Size; |
| 18 } | 17 } |
| 19 | 18 |
| 20 // A lock which will keep the top-of-window views revealed for its | 19 // A lock which will keep the top-of-window views revealed for its |
| 21 // lifetime. | 20 // lifetime. |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 protected: | 111 protected: |
| 113 base::ObserverList<Observer> observers_; | 112 base::ObserverList<Observer> observers_; |
| 114 | 113 |
| 115 private: | 114 private: |
| 116 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeController); | 115 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeController); |
| 117 }; | 116 }; |
| 118 | 117 |
| 119 namespace chrome { | 118 namespace chrome { |
| 120 | 119 |
| 121 // Implemented in immersive_mode_controller_factory.cc. | 120 // Implemented in immersive_mode_controller_factory.cc. |
| 122 ImmersiveModeController* CreateImmersiveModeController( | 121 ImmersiveModeController* CreateImmersiveModeController(); |
| 123 chrome::HostDesktopType host_desktop_type); | |
| 124 | 122 |
| 125 } // namespace chrome | 123 } // namespace chrome |
| 126 | 124 |
| 127 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ | 125 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_H_ |
| OLD | NEW |