OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "chrome/browser/fullscreen.h" | 5 #include "chrome/browser/fullscreen.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "ui/aura/client/aura_constants.h" | 9 #include "ui/aura/client/aura_constants.h" |
10 #include "ui/aura/root_window.h" | 10 #include "ui/aura/root_window.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 | 29 |
30 } // namespace | 30 } // namespace |
31 | 31 |
32 bool IsFullScreenMode() { | 32 bool IsFullScreenMode() { |
33 // This is used only by notification_ui_manager.cc. On aura, notification | 33 // This is used only by notification_ui_manager.cc. On aura, notification |
34 // will be managed in panel. This is temporary to get certain feature running | 34 // will be managed in panel. This is temporary to get certain feature running |
35 // until we implement it for aura. | 35 // until we implement it for aura. |
36 return CheckIfFullscreenWindowExists(ash::Shell::GetRootWindow()); | 36 return CheckIfFullscreenWindowExists(ash::Shell::GetRootWindow()); |
37 } | 37 } |
OLD | NEW |