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

Side by Side Diff: ui/aura/root_window_host_linux.h

Issue 12087124: Disable touch calibration on external touchscreen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review + Rebase on top of 12321086 Created 7 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
« no previous file with comments | « no previous file | ui/aura/root_window_host_linux.cc » ('j') | ui/base/events/event.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_LINUX_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_LINUX_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 #include "ui/gfx/insets.h" 21 #include "ui/gfx/insets.h"
22 #include "ui/gfx/rect.h" 22 #include "ui/gfx/rect.h"
23 23
24 namespace ui { 24 namespace ui {
25 class MouseEvent; 25 class MouseEvent;
26 } 26 }
27 27
28 namespace aura { 28 namespace aura {
29 29
30 namespace internal { 30 namespace internal {
31 class TouchEventCalibrate; 31 class TouchEventRouter;
32 } 32 }
33 33
34 class RootWindowHostLinux : public RootWindowHost, 34 class RootWindowHostLinux : public RootWindowHost,
35 public MessageLoop::Dispatcher, 35 public MessageLoop::Dispatcher,
36 public EnvObserver { 36 public EnvObserver {
37 public: 37 public:
38 explicit RootWindowHostLinux(const gfx::Rect& bounds); 38 explicit RootWindowHostLinux(const gfx::Rect& bounds);
39 virtual ~RootWindowHostLinux(); 39 virtual ~RootWindowHostLinux();
40 40
41 // Overridden from Dispatcher overrides: 41 // Overridden from Dispatcher overrides:
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 gfx::Rect x_root_bounds_; 130 gfx::Rect x_root_bounds_;
131 131
132 // True if the root host resides on the internal display 132 // True if the root host resides on the internal display
133 bool is_internal_display_; 133 bool is_internal_display_;
134 134
135 // True if the window should be focused when the window is shown. 135 // True if the window should be focused when the window is shown.
136 bool focus_when_shown_; 136 bool focus_when_shown_;
137 137
138 scoped_ptr<XID[]> pointer_barriers_; 138 scoped_ptr<XID[]> pointer_barriers_;
139 139
140 scoped_ptr<internal::TouchEventCalibrate> touch_calibrate_; 140 scoped_ptr<internal::TouchEventRouter> touch_router_;
141 141
142 scoped_ptr<MouseMoveFilter> mouse_move_filter_; 142 scoped_ptr<MouseMoveFilter> mouse_move_filter_;
143 143
144 ui::X11AtomCache atom_cache_; 144 ui::X11AtomCache atom_cache_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux); 146 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux);
147 }; 147 };
148 148
149 } // namespace aura 149 } // namespace aura
150 150
151 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ 151 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/root_window_host_linux.cc » ('j') | ui/base/events/event.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698