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

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

Issue 188223002: Clean up WindowEventDispatcher some more. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
« no previous file with comments | « ui/aura/window_tree_host_win.cc ('k') | ui/aura/window_tree_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_WINDOW_TREE_HOST_X11_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_X11_H_
6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // Returns true if there's an X window manager present... in most cases. Some 83 // Returns true if there's an X window manager present... in most cases. Some
84 // window managers (notably, ion3) don't implement enough of ICCCM for us to 84 // window managers (notably, ion3) don't implement enough of ICCCM for us to
85 // detect that they're there. 85 // detect that they're there.
86 bool IsWindowManagerPresent(); 86 bool IsWindowManagerPresent();
87 87
88 // Sets the cursor on |xwindow_| to |cursor|. Does not check or update 88 // Sets the cursor on |xwindow_| to |cursor|. Does not check or update
89 // |current_cursor_|. 89 // |current_cursor_|.
90 void SetCursorInternal(gfx::NativeCursor cursor); 90 void SetCursorInternal(gfx::NativeCursor cursor);
91 91
92 // Translates the native mouse location into screen coordinates and and 92 // Translates the native mouse location into screen coordinates and and
93 // dispatches the event to WindowTreeHostDelegate. 93 // dispatches the event via WindowEventDispatcher.
94 void TranslateAndDispatchMouseEvent(ui::MouseEvent* event); 94 void TranslateAndDispatchMouseEvent(ui::MouseEvent* event);
95 95
96 // Update is_internal_display_ based on delegate_ state 96 // Update is_internal_display_ based on delegate_ state
97 void UpdateIsInternalDisplay(); 97 void UpdateIsInternalDisplay();
98 98
99 // Set the CrOS touchpad "tap paused" property. It is used to temporarily 99 // Set the CrOS touchpad "tap paused" property. It is used to temporarily
100 // turn off the Tap-to-click feature when the mouse pointer is invisible. 100 // turn off the Tap-to-click feature when the mouse pointer is invisible.
101 void SetCrOSTapPaused(bool state); 101 void SetCrOSTapPaused(bool state);
102 102
103 // The display and the native X window hosting the root window. 103 // The display and the native X window hosting the root window.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 namespace test { 137 namespace test {
138 138
139 // Set the default value of the override redirect flag used to 139 // Set the default value of the override redirect flag used to
140 // create a X window for WindowTreeHostX11. 140 // create a X window for WindowTreeHostX11.
141 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); 141 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect);
142 142
143 } // namespace test 143 } // namespace test
144 } // namespace aura 144 } // namespace aura
145 145
146 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ 146 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_win.cc ('k') | ui/aura/window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698