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

Side by Side Diff: ash/common/system/chromeos/brightness/tray_brightness.cc

Issue 2761313003: Update appearance of Wi-Fi toggle notification. (Closed)
Patch Set: one more rename Created 3 years, 9 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 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 #include "ash/common/system/chromeos/brightness/tray_brightness.h" 5 #include "ash/common/system/chromeos/brightness/tray_brightness.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/common/material_design/material_design_controller.h" 9 #include "ash/common/material_design/material_design_controller.h"
10 #include "ash/common/shell_observer.h" 10 #include "ash/common/shell_observer.h"
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 // Never show the bubble on systems that lack internal displays: if an 272 // Never show the bubble on systems that lack internal displays: if an
273 // external display's brightness is changed, it may already display the new 273 // external display's brightness is changed, it may already display the new
274 // level via an on-screen display. 274 // level via an on-screen display.
275 if (!display::Display::HasInternalDisplay()) 275 if (!display::Display::HasInternalDisplay())
276 return; 276 return;
277 277
278 if (brightness_view_ && brightness_view_->visible()) 278 if (brightness_view_ && brightness_view_->visible())
279 SetDetailedViewCloseDelay(kTrayPopupAutoCloseDelayInSeconds); 279 SetDetailedViewCloseDelay(kTrayPopupAutoCloseDelayInSeconds);
280 else 280 else
281 PopupDetailedView(kTrayPopupAutoCloseDelayInSeconds, false); 281 ShowDetailedView(kTrayPopupAutoCloseDelayInSeconds, false);
282 } 282 }
283 283
284 } // namespace ash 284 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/audio/tray_audio.cc ('k') | ash/common/system/chromeos/network/network_icon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698