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

Side by Side Diff: ash/system/palette/palette_tray.cc

Issue 2920613003: Clean up unused grit header includes in ash/. (Closed)
Patch Set: 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/system/palette/palette_tray.h" 5 #include "ash/system/palette/palette_tray.h"
6 6
7 #include "ash/resources/grit/ash_resources.h"
8 #include "ash/resources/vector_icons/vector_icons.h" 7 #include "ash/resources/vector_icons/vector_icons.h"
9 #include "ash/root_window_controller.h" 8 #include "ash/root_window_controller.h"
10 #include "ash/session/session_controller.h" 9 #include "ash/session/session_controller.h"
11 #include "ash/shelf/shelf.h" 10 #include "ash/shelf/shelf.h"
12 #include "ash/shelf/shelf_constants.h" 11 #include "ash/shelf/shelf_constants.h"
13 #include "ash/shell.h" 12 #include "ash/shell.h"
14 #include "ash/strings/grit/ash_strings.h" 13 #include "ash/strings/grit/ash_strings.h"
15 #include "ash/system/palette/palette_tool_manager.h" 14 #include "ash/system/palette/palette_tool_manager.h"
16 #include "ash/system/palette/palette_utils.h" 15 #include "ash/system/palette/palette_utils.h"
17 #include "ash/system/tray/system_menu_button.h" 16 #include "ash/system/tray/system_menu_button.h"
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 UpdateIconVisibility(); 385 UpdateIconVisibility();
387 } 386 }
388 } 387 }
389 388
390 void PaletteTray::UpdateIconVisibility() { 389 void PaletteTray::UpdateIconVisibility() {
391 SetVisible(is_palette_enabled_ && palette_utils::HasStylusInput() && 390 SetVisible(is_palette_enabled_ && palette_utils::HasStylusInput() &&
392 ShouldShowOnDisplay(this) && IsInUserSession()); 391 ShouldShowOnDisplay(this) && IsInUserSession());
393 } 392 }
394 393
395 } // namespace ash 394 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/palette/common_palette_tool.cc ('k') | ash/system/session/tray_session_length_limit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698