OLD | NEW |
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_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // operation is acked by the viewer. | 255 // operation is acked by the viewer. |
256 bool ignore_mouse_moves_until_set_cursor_ack_; | 256 bool ignore_mouse_moves_until_set_cursor_ack_; |
257 | 257 |
258 // Tracking last click event for synthetically generated mouse events. | 258 // Tracking last click event for synthetically generated mouse events. |
259 scoped_ptr<ui::MouseEvent> last_mouse_click_event_; | 259 scoped_ptr<ui::MouseEvent> last_mouse_click_event_; |
260 | 260 |
261 // State of the keyboard/mouse at the time of the last input event. See | 261 // State of the keyboard/mouse at the time of the last input event. See |
262 // description of SetEventFlags(). | 262 // description of SetEventFlags(). |
263 uint32 event_flags_; | 263 uint32 event_flags_; |
264 | 264 |
| 265 // Current size of this root window. |
| 266 gfx::Size window_size_; |
| 267 |
265 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); | 268 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); |
266 }; | 269 }; |
267 | 270 |
268 } // namespace aura | 271 } // namespace aura |
269 | 272 |
270 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ | 273 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |