Index: chrome/browser/fullscreen_chromeos.cc |
diff --git a/chrome/browser/fullscreen_chromeos.cc b/chrome/browser/fullscreen_chromeos.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a2adffa91aa9d622e9853ffa7a24268972de60ea |
--- /dev/null |
+++ b/chrome/browser/fullscreen_chromeos.cc |
@@ -0,0 +1,13 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/fullscreen.h" |
+ |
+#include "ash/root_window_controller.h" |
+ |
+bool IsFullScreenMode() { |
+ ash::internal::RootWindowController* controller = |
+ ash::internal::RootWindowController::ForActiveRootWindow(); |
+ return controller && controller->GetFullscreenWindow(); |
+} |