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

Side by Side Diff: ash/system/tray_accessibility.cc

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test 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 | « ash/system/ime/tray_ime_chromeos.cc ('k') | ash/test/BUILD.gn » ('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 #include "ash/system/tray_accessibility.h" 5 #include "ash/system/tray_accessibility.h"
6 6
7 #include <memory>
8 #include <utility>
9
7 #include "ash/accessibility_delegate.h" 10 #include "ash/accessibility_delegate.h"
8 #include "ash/accessibility_types.h" 11 #include "ash/accessibility_types.h"
9 #include "ash/resources/vector_icons/vector_icons.h" 12 #include "ash/resources/vector_icons/vector_icons.h"
10 #include "ash/session/session_controller.h" 13 #include "ash/session/session_controller.h"
11 #include "ash/session/session_state_delegate.h"
12 #include "ash/shell.h" 14 #include "ash/shell.h"
13 #include "ash/shell_port.h" 15 #include "ash/shell_port.h"
14 #include "ash/strings/grit/ash_strings.h" 16 #include "ash/strings/grit/ash_strings.h"
15 #include "ash/system/system_notifier.h" 17 #include "ash/system/system_notifier.h"
16 #include "ash/system/tray/hover_highlight_view.h" 18 #include "ash/system/tray/hover_highlight_view.h"
17 #include "ash/system/tray/system_tray.h" 19 #include "ash/system/tray/system_tray.h"
18 #include "ash/system/tray/system_tray_controller.h" 20 #include "ash/system/tray/system_tray_controller.h"
19 #include "ash/system/tray/system_tray_notifier.h" 21 #include "ash/system/tray/system_tray_notifier.h"
20 #include "ash/system/tray/tray_constants.h" 22 #include "ash/system/tray/tray_constants.h"
21 #include "ash/system/tray/tray_details_view.h" 23 #include "ash/system/tray/tray_details_view.h"
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 gfx::Image(gfx::CreateVectorIcon(GetNotificationIcon(being_enabled), 480 gfx::Image(gfx::CreateVectorIcon(GetNotificationIcon(being_enabled),
479 kMenuIconSize, kMenuIconColor)), 481 kMenuIconSize, kMenuIconColor)),
480 base::string16(), GURL(), 482 base::string16(), GURL(),
481 message_center::NotifierId(message_center::NotifierId::APPLICATION, 483 message_center::NotifierId(message_center::NotifierId::APPLICATION,
482 system_notifier::kNotifierAccessibility), 484 system_notifier::kNotifierAccessibility),
483 message_center::RichNotificationData(), nullptr); 485 message_center::RichNotificationData(), nullptr);
484 message_center->AddNotification(std::move(notification)); 486 message_center->AddNotification(std::move(notification));
485 } 487 }
486 488
487 } // namespace ash 489 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/ime/tray_ime_chromeos.cc ('k') | ash/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698