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

Side by Side Diff: ash/common/wm/window_cycle_list.h

Issue 2296763002: Retry c7e292ea58a76fe2 - Redirect all mouse input to Alt+Tab window (Closed)
Patch Set: delay widget destruction instead Created 4 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 | ash/common/wm/window_cycle_list.cc » ('j') | ash/common/wm/window_cycle_list.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ASH_COMMON_WM_WINDOW_CYCLE_LIST_H_ 5 #ifndef ASH_COMMON_WM_WINDOW_CYCLE_LIST_H_
6 #define ASH_COMMON_WM_WINDOW_CYCLE_LIST_H_ 6 #define ASH_COMMON_WM_WINDOW_CYCLE_LIST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Wrapper for the window brought to the front. 88 // Wrapper for the window brought to the front.
89 // TODO(estade): remove ScopedShowWindow when we know we are happy launching 89 // TODO(estade): remove ScopedShowWindow when we know we are happy launching
90 // the |cycle_view_| version. 90 // the |cycle_view_| version.
91 std::unique_ptr<ScopedShowWindow> showing_window_; 91 std::unique_ptr<ScopedShowWindow> showing_window_;
92 92
93 // The top level View for the window cycle UI. May be null if the UI is not 93 // The top level View for the window cycle UI. May be null if the UI is not
94 // showing. 94 // showing.
95 WindowCycleView* cycle_view_; 95 WindowCycleView* cycle_view_;
96 96
97 // The widget that hosts the window cycle UI. 97 // The widget that hosts the window cycle UI.
98 std::unique_ptr<views::Widget> cycle_ui_widget_; 98 views::Widget* cycle_ui_widget_;
99 99
100 // The window list will dismiss if the display metrics change. 100 // The window list will dismiss if the display metrics change.
101 ScopedObserver<display::Screen, display::DisplayObserver> screen_observer_; 101 ScopedObserver<display::Screen, display::DisplayObserver> screen_observer_;
102 102
103 // A timer to delay showing the UI. Quick Alt+Tab should not flash a UI. 103 // A timer to delay showing the UI. Quick Alt+Tab should not flash a UI.
104 base::OneShotTimer show_ui_timer_; 104 base::OneShotTimer show_ui_timer_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(WindowCycleList); 106 DISALLOW_COPY_AND_ASSIGN(WindowCycleList);
107 }; 107 };
108 108
109 } // namespace ash 109 } // namespace ash
110 110
111 #endif // ASH_COMMON_WM_WINDOW_CYCLE_LIST_H_ 111 #endif // ASH_COMMON_WM_WINDOW_CYCLE_LIST_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/wm/window_cycle_list.cc » ('j') | ash/common/wm/window_cycle_list.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698