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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
7 | 7 |
8 #include "ui/aura/window_tree_host.h" | 8 #include "ui/aura/window_tree_host.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
257 corewm::TooltipWin* tooltip_; | 257 corewm::TooltipWin* tooltip_; |
258 | 258 |
259 // Visibility of the cursor. On Windows we can have multiple root windows and | 259 // Visibility of the cursor. On Windows we can have multiple root windows and |
260 // the implementation of ::ShowCursor() is based on a counter, so making this | 260 // the implementation of ::ShowCursor() is based on a counter, so making this |
261 // member static ensures that ::ShowCursor() is always called exactly once | 261 // member static ensures that ::ShowCursor() is always called exactly once |
262 // whenever the cursor visibility state changes. | 262 // whenever the cursor visibility state changes. |
263 static bool is_cursor_visible_; | 263 static bool is_cursor_visible_; |
264 | 264 |
265 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 265 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
266 | 266 |
267 // This flag is set to true in cases where we need to force a synchronous | |
268 // via the compositor. Cases include restoring/resizing/maximizing the | |
sky
2014/09/03 14:53:50
via -> paint via?
ananta
2014/09/03 17:44:55
Done.
| |
269 // window. Defaults to false. | |
270 bool need_synchronous_paint_; | |
271 | |
272 // Set to true if we are about to enter a sizing loop. | |
273 bool sizing_notification_received_; | |
sky
2014/09/03 14:53:50
sizing_notification_received_ -> in_sizing_loop_
ananta
2014/09/03 17:44:55
Done.
| |
274 | |
267 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 275 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
268 }; | 276 }; |
269 | 277 |
270 } // namespace views | 278 } // namespace views |
271 | 279 |
272 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 280 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |