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

Unified Diff: chromeos/display/native_display_event_dispatcher_x11.h

Issue 192483007: Move chromeos/display/* to ui/display/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include display.gyp into ChromeOS builds only 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
Index: chromeos/display/native_display_event_dispatcher_x11.h
diff --git a/chromeos/display/native_display_event_dispatcher_x11.h b/chromeos/display/native_display_event_dispatcher_x11.h
deleted file mode 100644
index 631f71ac00e57f04c3459bbb2773068591c414b0..0000000000000000000000000000000000000000
--- a/chromeos/display/native_display_event_dispatcher_x11.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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 CHROMEOS_DISPLAY_NATIVE_DISPLAY_EVENT_DISPATCHER_X11_H_
-#define CHROMEOS_DISPLAY_NATIVE_DISPLAY_EVENT_DISPATCHER_X11_H_
-
-#include "base/message_loop/message_pump_dispatcher.h"
-#include "chromeos/display/native_display_delegate_x11.h"
-
-namespace chromeos {
-
-class CHROMEOS_EXPORT NativeDisplayEventDispatcherX11
- : public base::MessagePumpDispatcher {
- public:
- NativeDisplayEventDispatcherX11(
- NativeDisplayDelegateX11::HelperDelegate* delegate,
- int xrandr_event_base);
- virtual ~NativeDisplayEventDispatcherX11();
-
- // base::MessagePumpDispatcher overrides:
- //
- // Called when an RRNotify event is received. The implementation is
- // interested in the cases of RRNotify events which correspond to output
- // add/remove events. Note that Output add/remove events are sent in response
- // to our own reconfiguration operations so spurious events are common.
- // Spurious events will have no effect.
- virtual uint32_t Dispatch(const base::NativeEvent& event) OVERRIDE;
-
- private:
- NativeDisplayDelegateX11::HelperDelegate* delegate_; // Not owned.
-
- // The base of the event numbers used to represent XRandr events used in
- // decoding events regarding output add/remove.
- int xrandr_event_base_;
-
- DISALLOW_COPY_AND_ASSIGN(NativeDisplayEventDispatcherX11);
-};
-
-} // namespace chromeos
-
-#endif // CHROMEOS_DISPLAY_NATIVE_DISPLAY_EVENT_DISPATCHER_X11_H_
« no previous file with comments | « chromeos/display/native_display_delegate_x11.cc ('k') | chromeos/display/native_display_event_dispatcher_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698