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

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

Issue 560633002: Ensure that mouse lock works correctly on Chrome ASH in Windows 8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build errors Created 6 years, 3 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/remote_window_tree_host_win.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_REMOTE_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
6 #define UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 uint32 key_event_flags() const { 165 uint32 key_event_flags() const {
166 return event_flags_ & (ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | 166 return event_flags_ & (ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN |
167 ui::EF_ALT_DOWN | ui::EF_CAPS_LOCK_DOWN); 167 ui::EF_ALT_DOWN | ui::EF_CAPS_LOCK_DOWN);
168 } 168 }
169 169
170 HWND remote_window_; 170 HWND remote_window_;
171 IPC::Sender* host_; 171 IPC::Sender* host_;
172 scoped_ptr<ui::ViewProp> prop_; 172 scoped_ptr<ui::ViewProp> prop_;
173 173
174 // Set to true if we need to ignore mouse messages until the SetCursorPos 174 // Incremented if we need to ignore mouse messages until the SetCursorPos
175 // operation is acked by the viewer. 175 // operation is acked by the viewer.
176 bool ignore_mouse_moves_until_set_cursor_ack_; 176 int ignore_mouse_moves_until_set_cursor_ack_;
177 177
178 // Tracking last click event for synthetically generated mouse events. 178 // Tracking last click event for synthetically generated mouse events.
179 scoped_ptr<ui::MouseEvent> last_mouse_click_event_; 179 scoped_ptr<ui::MouseEvent> last_mouse_click_event_;
180 180
181 // State of the keyboard/mouse at the time of the last input event. See 181 // State of the keyboard/mouse at the time of the last input event. See
182 // description of SetEventFlags(). 182 // description of SetEventFlags().
183 uint32 event_flags_; 183 uint32 event_flags_;
184 184
185 // Current size of this root window. 185 // Current size of this root window.
186 gfx::Size window_size_; 186 gfx::Size window_size_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin); 188 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin);
189 }; 189 };
190 190
191 } // namespace aura 191 } // namespace aura
192 192
193 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 193 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/remote_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698