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

Side by Side Diff: ui/app_list/views/app_list_view.h

Issue 2934513004: Changed static variable flag to be a bool in the anon namespace. (Closed)
Patch Set: addressed comments. Created 3 years, 6 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/app_list/views/app_list_view.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_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 views::View* search_box_focus_host_; // Owned by the views hierarchy. 171 views::View* search_box_focus_host_; // Owned by the views hierarchy.
172 views::Widget* search_box_widget_; // Owned by the app list's widget. 172 views::Widget* search_box_widget_; // Owned by the app list's widget.
173 SearchBoxView* search_box_view_; // Owned by |search_box_widget_|. 173 SearchBoxView* search_box_view_; // Owned by |search_box_widget_|.
174 // Owned by the app list's widget. Null if the fullscreen app list is not 174 // Owned by the app list's widget. Null if the fullscreen app list is not
175 // enabled. 175 // enabled.
176 views::View* app_list_background_shield_ = nullptr; 176 views::View* app_list_background_shield_ = nullptr;
177 // The gap between the initial gesture event and the top of the window. 177 // The gap between the initial gesture event and the top of the window.
178 gfx::Point initial_drag_point_; 178 gfx::Point initial_drag_point_;
179 // The velocity of the gesture event. 179 // The velocity of the gesture event.
180 float last_fling_velocity_ = 0; 180 float last_fling_velocity_ = 0;
181 // Whether the fullscreen app list feature is enabled.
182 const bool is_fullscreen_app_list_enabled_;
181 // The state of the app list, controlled via SetState(). 183 // The state of the app list, controlled via SetState().
182 AppListState app_list_state_; 184 AppListState app_list_state_;
183 185
184 // An observer that notifies AppListView when the display has changed. 186 // An observer that notifies AppListView when the display has changed.
185 ScopedObserver<display::Screen, display::DisplayObserver> display_observer_; 187 ScopedObserver<display::Screen, display::DisplayObserver> display_observer_;
186 188
187 // A semi-transparent white overlay that covers the app list while dialogs are 189 // A semi-transparent white overlay that covers the app list while dialogs are
188 // open. 190 // open.
189 views::View* overlay_view_; 191 views::View* overlay_view_;
190 192
191 std::unique_ptr<HideViewAnimationObserver> animation_observer_; 193 std::unique_ptr<HideViewAnimationObserver> animation_observer_;
192 194
193 // For UMA and testing. If non-null, triggered when the app list is painted. 195 // For UMA and testing. If non-null, triggered when the app list is painted.
194 base::Closure next_paint_callback_; 196 base::Closure next_paint_callback_;
195 197
196 DISALLOW_COPY_AND_ASSIGN(AppListView); 198 DISALLOW_COPY_AND_ASSIGN(AppListView);
197 }; 199 };
198 200
199 } // namespace app_list 201 } // namespace app_list
200 202
201 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 203 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698