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

Side by Side Diff: ash/common/wm/overview/window_selector.h

Issue 2276853002: [ash-md] Does not cancel overview when focus shifts from text fitler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Does not cancel overview when focus shifts from text fitler (comments) Created 4 years, 4 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/overview/window_selector.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_OVERVIEW_WINDOW_SELECTOR_H_ 5 #ifndef ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_
6 #define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ 6 #define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // them refer to this particular overview session and are not cumulative: 150 // them refer to this particular overview session and are not cumulative:
151 // The time when overview was started. 151 // The time when overview was started.
152 base::Time overview_start_time_; 152 base::Time overview_start_time_;
153 153
154 // The number of arrow key presses. 154 // The number of arrow key presses.
155 size_t num_key_presses_; 155 size_t num_key_presses_;
156 156
157 // The number of items in the overview. 157 // The number of items in the overview.
158 size_t num_items_; 158 size_t num_items_;
159 159
160 // Indicates if we are showing the selection widget. 160 // Indicates if the text filter is shown on screen (rather than above it).
161 bool showing_selection_widget_; 161 bool showing_text_filter_;
162 162
163 // Window text filter widget. As the user writes on it, we filter the items 163 // Window text filter widget. As the user writes on it, we filter the items
164 // in the overview. It is also responsible for handling overview key events, 164 // in the overview. It is also responsible for handling overview key events,
165 // such as enter key to select. 165 // such as enter key to select.
166 std::unique_ptr<views::Widget> text_filter_widget_; 166 std::unique_ptr<views::Widget> text_filter_widget_;
167 167
168 // Image used for text filter textfield. 168 // Image used for text filter textfield.
169 gfx::ImageSkia search_image_; 169 gfx::ImageSkia search_image_;
170 170
171 // The current length of the string entered into the text filtering textfield. 171 // The current length of the string entered into the text filtering textfield.
(...skipping 12 matching lines...) Expand all
184 int text_filter_bottom_; 184 int text_filter_bottom_;
185 185
186 bool is_shut_down_ = false; 186 bool is_shut_down_ = false;
187 187
188 DISALLOW_COPY_AND_ASSIGN(WindowSelector); 188 DISALLOW_COPY_AND_ASSIGN(WindowSelector);
189 }; 189 };
190 190
191 } // namespace ash 191 } // namespace ash
192 192
193 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_ 193 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698