summaryrefslogtreecommitdiffstats
path: root/chrome/browser/fullscreen_aurax11.cc
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-13 23:25:06 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-13 23:25:06 +0000
commit45c2428c0c3b8bda0f40aac07d1ef0f27e35fe2f (patch)
treecffc5e3be784e5fcebe2d6390055d9b010df3c46 /chrome/browser/fullscreen_aurax11.cc
parent93f942621d858fdae51cdecf3d2f234967b671aa (diff)
downloadchromium_src-45c2428c0c3b8bda0f40aac07d1ef0f27e35fe2f.zip
chromium_src-45c2428c0c3b8bda0f40aac07d1ef0f27e35fe2f.tar.gz
chromium_src-45c2428c0c3b8bda0f40aac07d1ef0f27e35fe2f.tar.bz2
Revert 270232 "linux_aura: Compile ash into chrome."
Reverted once again because because there are two more static initializers. > linux_aura: Compile ash into chrome. > > [This is a reland now that the static initializers should be fixed.] > > Running chrome with the "--open-ash" parameter will create an ash > desktop window. Ash on Linux has some problems, but at least we're now > compiling the code into the binary. > > TODO: The applist isn't positioned correctly, and some details of the > system tray aren't correct. > > BUG=300084, 303862 > TBR=sky@chromium.org > First Review URL: https://codereview.chromium.org/25108005 > > Review URL: https://codereview.chromium.org/270383007 TBR=erg@chromium.org Review URL: https://codereview.chromium.org/287783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/fullscreen_aurax11.cc')
-rw-r--r--chrome/browser/fullscreen_aurax11.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/fullscreen_aurax11.cc b/chrome/browser/fullscreen_aurax11.cc
index eca8c22..b186c00 100644
--- a/chrome/browser/fullscreen_aurax11.cc
+++ b/chrome/browser/fullscreen_aurax11.cc
@@ -6,21 +6,11 @@
#include <vector>
-#include "ash/root_window_controller.h"
-#include "chrome/browser/ui/host_desktop.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h"
#include "ui/views/widget/widget.h"
bool IsFullScreenMode() {
-#if defined(USE_ASH)
- if (chrome::GetActiveDesktop() == chrome::HOST_DESKTOP_TYPE_ASH) {
- ash::RootWindowController* controller =
- ash::RootWindowController::ForTargetRootWindow();
- return controller && controller->GetWindowForFullscreenMode();
- }
-#endif
-
std::vector<aura::Window*> all_windows =
views::DesktopWindowTreeHostX11::GetAllOpenWindows();
// Only the topmost window is checked. This works fine in the most cases, but