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

Side by Side Diff: ui/display/chromeos/x11/native_display_delegate_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DISPLAY_NATIVE_DISPLAY_DELEGATE_X11_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_
6 #define CHROMEOS_DISPLAY_NATIVE_DISPLAY_DELEGATE_X11_H_ 6 #define UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chromeos/display/native_display_delegate.h" 12 #include "ui/display/chromeos/native_display_delegate.h"
13 13
14 typedef XID Window; 14 typedef XID Window;
15 15
16 struct _XDisplay; 16 struct _XDisplay;
17 typedef struct _XDisplay Display; 17 typedef struct _XDisplay Display;
18 struct _XRROutputInfo; 18 struct _XRROutputInfo;
19 typedef _XRROutputInfo XRROutputInfo; 19 typedef _XRROutputInfo XRROutputInfo;
20 struct _XRRScreenResources; 20 struct _XRRScreenResources;
21 typedef _XRRScreenResources XRRScreenResources; 21 typedef _XRRScreenResources XRRScreenResources;
22 22
23 namespace chromeos { 23 namespace ui {
24 24
25 class NativeDisplayEventDispatcherX11; 25 class NativeDisplayEventDispatcherX11;
26 26
27 class NativeDisplayDelegateX11 : public NativeDisplayDelegate { 27 class NativeDisplayDelegateX11 : public NativeDisplayDelegate {
28 public: 28 public:
29 // Helper class that allows NativeDisplayEventDispatcherX11 and 29 // Helper class that allows NativeDisplayEventDispatcherX11 and
30 // NativeDisplayDelegateX11::MessagePumpObserverX11 to interact with this 30 // NativeDisplayDelegateX11::MessagePumpObserverX11 to interact with this
31 // class or with mocks in tests. 31 // class or with mocks in tests.
32 class HelperDelegate { 32 class HelperDelegate {
33 public: 33 public:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 // Processes X11 display events that have no X11 window associated with it. 122 // Processes X11 display events that have no X11 window associated with it.
123 scoped_ptr<MessagePumpObserverX11> message_pump_observer_; 123 scoped_ptr<MessagePumpObserverX11> message_pump_observer_;
124 124
125 // List of observers waiting for display configuration change events. 125 // List of observers waiting for display configuration change events.
126 ObserverList<NativeDisplayObserver> observers_; 126 ObserverList<NativeDisplayObserver> observers_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); 128 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11);
129 }; 129 };
130 130
131 } // namespace chromeos 131 } // namespace ui
132 132
133 #endif // CHROMEOS_DISPLAY_NATIVE_DISPLAY_DELEGATE_X11_H_ 133 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/x11/display_util_unittest.cc ('k') | ui/display/chromeos/x11/native_display_delegate_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698