Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: apps/shell/browser/shell_desktop_controller.h

Issue 214693010: Remove USE_X11==1 check when including OutputConfigurator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | apps/shell/browser/shell_desktop_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/browser/shell_desktop_controller.h
diff --git a/apps/shell/browser/shell_desktop_controller.h b/apps/shell/browser/shell_desktop_controller.h
index d1c1484a278626858fc5add0bdda41ea642f9e15..3420790bd0116e91ab9555cb1affdb68b56a23b3 100644
--- a/apps/shell/browser/shell_desktop_controller.h
+++ b/apps/shell/browser/shell_desktop_controller.h
@@ -11,7 +11,7 @@
#include "ui/aura/window_tree_host_observer.h"
#include "ui/gfx/geometry/size.h"
-#if defined(OS_CHROMEOS) && defined(USE_X11)
+#if defined(OS_CHROMEOS)
#include "ui/display/chromeos/output_configurator.h"
#endif
@@ -28,10 +28,10 @@ namespace apps {
// Handles desktop-related tasks for app_shell.
class ShellDesktopController
-#if defined(OS_CHROMEOS) && defined(USE_X11)
+#if defined(OS_CHROMEOS)
: public ui::OutputConfigurator::Observer
#endif
- {
+ {
public:
ShellDesktopController();
virtual ~ShellDesktopController();
@@ -39,7 +39,7 @@ class ShellDesktopController
// Returns the host for the Aura window tree.
aura::WindowTreeHost* GetWindowTreeHost();
-#if defined(OS_CHROMEOS) && defined(USE_X11)
+#if defined(OS_CHROMEOS)
// ui::OutputConfigurator::Observer overrides.
virtual void OnDisplayModeChanged(
const std::vector<ui::OutputConfigurator::DisplayState>& outputs)
@@ -57,7 +57,7 @@ class ShellDesktopController
// if the dimensions can't be determined or no display is connected.
gfx::Size GetPrimaryDisplaySize();
-#if defined(OS_CHROMEOS) && defined(USE_X11)
+#if defined(OS_CHROMEOS)
scoped_ptr<ui::OutputConfigurator> output_configurator_;
#endif
« no previous file with comments | « no previous file | apps/shell/browser/shell_desktop_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698