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

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

Issue 18043004: Set CrOS touchpad Tap Paused property to false during initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src@git-svn
Patch Set: Move ifdefs inside the implementation Created 7 years, 5 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_x11.cc » ('j') | no next file with comments »
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_X11_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_X11_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_X11_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_X11_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // dispatches the event to RootWindowHostDelegate. 96 // dispatches the event to RootWindowHostDelegate.
97 void TranslateAndDispatchMouseEvent(ui::MouseEvent* event); 97 void TranslateAndDispatchMouseEvent(ui::MouseEvent* event);
98 98
99 // Copies and returns |snapshot_bounds| from |xwindow_|. Helper method for 99 // Copies and returns |snapshot_bounds| from |xwindow_|. Helper method for
100 // CopyAreaToSkCanvas() and GrabSnapshot(). 100 // CopyAreaToSkCanvas() and GrabSnapshot().
101 scoped_ptr<ui::XScopedImage> GetXImage(const gfx::Rect& snapshot_bounds); 101 scoped_ptr<ui::XScopedImage> GetXImage(const gfx::Rect& snapshot_bounds);
102 102
103 // Update is_internal_display_ based on delegate_ state 103 // Update is_internal_display_ based on delegate_ state
104 void UpdateIsInternalDisplay(); 104 void UpdateIsInternalDisplay();
105 105
106 // Set the CrOS touchpad "tap paused" property. It is used to temporarily
107 // turn off the Tap-to-click feature when the mouse pointer is invisible.
108 void SetCrOSTapPaused(bool state);
109
106 RootWindowHostDelegate* delegate_; 110 RootWindowHostDelegate* delegate_;
107 111
108 // The display and the native X window hosting the root window. 112 // The display and the native X window hosting the root window.
109 Display* xdisplay_; 113 Display* xdisplay_;
110 ::Window xwindow_; 114 ::Window xwindow_;
111 115
112 // The native root window. 116 // The native root window.
113 ::Window x_root_window_; 117 ::Window x_root_window_;
114 118
115 // Current Aura cursor. 119 // Current Aura cursor.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 namespace test { 151 namespace test {
148 152
149 // Set the default value of the override redirect flag used to 153 // Set the default value of the override redirect flag used to
150 // create a X window for RootWindowHostX11. 154 // create a X window for RootWindowHostX11.
151 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); 155 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect);
152 156
153 } // namespace test 157 } // namespace test
154 } // namespace aura 158 } // namespace aura
155 159
156 #endif // UI_AURA_ROOT_WINDOW_HOST_X11_H_ 160 #endif // UI_AURA_ROOT_WINDOW_HOST_X11_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/root_window_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698