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

Side by Side Diff: ash/system/tray/tray_background_view.h

Issue 580903003: Move Touch Feedback flag to ui_base_switches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ 5 #ifndef ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_
6 #define ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ 6 #define ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shelf/background_animator.h" 9 #include "ash/shelf/background_animator.h"
10 #include "ash/shelf/shelf_types.h" 10 #include "ash/shelf/shelf_types.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 BackgroundAnimator hide_background_animator_; 179 BackgroundAnimator hide_background_animator_;
180 BackgroundAnimator hover_background_animator_; 180 BackgroundAnimator hover_background_animator_;
181 181
182 // True if the background gets hovered. 182 // True if the background gets hovered.
183 bool hovered_; 183 bool hovered_;
184 184
185 // This variable stores the activation override which will tint the background 185 // This variable stores the activation override which will tint the background
186 // differently if set to true. 186 // differently if set to true.
187 bool draw_background_as_active_; 187 bool draw_background_as_active_;
188 188
189 // True if touch view feedback command line flag has been enabled. When
190 // enabled touch gestures will toggle rendering the background as active.
191 bool touch_feedback_enabled_;
192
193 scoped_ptr<TrayWidgetObserver> widget_observer_; 189 scoped_ptr<TrayWidgetObserver> widget_observer_;
194 scoped_ptr<TrayEventFilter> tray_event_filter_; 190 scoped_ptr<TrayEventFilter> tray_event_filter_;
195 191
196 DISALLOW_COPY_AND_ASSIGN(TrayBackgroundView); 192 DISALLOW_COPY_AND_ASSIGN(TrayBackgroundView);
197 }; 193 };
198 194
199 } // namespace ash 195 } // namespace ash
200 196
201 #endif // ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_ 197 #endif // ASH_SYSTEM_TRAY_TRAY_BACKGROUND_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698