Index: ui/aura/display_change_observer_x11.h |
diff --git a/ui/aura/display_change_observer_x11.h b/ui/aura/display_change_observer_x11.h |
deleted file mode 100644 |
index 6d7fe6096cbfccc5b4f26db2a3c132bd3e933d12..0000000000000000000000000000000000000000 |
--- a/ui/aura/display_change_observer_x11.h |
+++ /dev/null |
@@ -1,46 +0,0 @@ |
-// Copyright (c) 2012 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. |
- |
-#ifndef UI_AURA_DISPLAY_CHANGE_OBSERVER_X11_H |
-#define UI_AURA_DISPLAY_CHANGE_OBSERVER_X11_H |
- |
-#include <X11/Xlib.h> |
- |
-// Xlib.h defines RootWindow. |
-#undef RootWindow |
- |
-#include "base/basictypes.h" |
-#include "base/message_loop.h" |
- |
-namespace aura { |
-namespace internal { |
- |
-// An object that observes changes in display configuration and |
-// update DisplayManagers. |
-class DisplayChangeObserverX11 : public MessageLoop::Dispatcher { |
- public: |
- DisplayChangeObserverX11(); |
- virtual ~DisplayChangeObserverX11(); |
- |
- // Overridden from Dispatcher overrides: |
- virtual bool Dispatch(const base::NativeEvent& xev) OVERRIDE; |
- |
- // Reads display configurations from the system and notifies |
- // |display_manager_| about the change. |
- void NotifyDisplayChange(); |
- |
- private: |
- Display* xdisplay_; |
- |
- ::Window x_root_window_; |
- |
- int xrandr_event_base_; |
- |
- DISALLOW_COPY_AND_ASSIGN(DisplayChangeObserverX11); |
-}; |
- |
-} // namespace internal |
-} // namespace aura |
- |
-#endif // UI_AURA_DISPLAY_CHANGE_OBSERVER_X11_H |