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

Side by Side Diff: ash/common/system/status_area_widget.cc

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 years, 2 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 #include "ash/common/system/status_area_widget.h" 5 #include "ash/common/system/status_area_widget.h"
6 6
7 #include "ash/common/material_design/material_design_controller.h" 7 #include "ash/common/material_design/material_design_controller.h"
8 #include "ash/common/shelf/wm_shelf.h" 8 #include "ash/common/shelf/wm_shelf.h"
9 #include "ash/common/shell_window_ids.h"
10 #include "ash/common/system/overview/overview_button_tray.h" 9 #include "ash/common/system/overview/overview_button_tray.h"
11 #include "ash/common/system/status_area_widget_delegate.h" 10 #include "ash/common/system/status_area_widget_delegate.h"
12 #include "ash/common/system/tray/system_tray.h" 11 #include "ash/common/system/tray/system_tray.h"
13 #include "ash/common/system/tray/system_tray_delegate.h" 12 #include "ash/common/system/tray/system_tray_delegate.h"
14 #include "ash/common/system/web_notification/web_notification_tray.h" 13 #include "ash/common/system/web_notification/web_notification_tray.h"
15 #include "ash/common/wm_lookup.h" 14 #include "ash/common/wm_lookup.h"
16 #include "ash/common/wm_root_window_controller.h" 15 #include "ash/common/wm_root_window_controller.h"
17 #include "ash/common/wm_shell.h" 16 #include "ash/common/wm_shell.h"
18 #include "ash/common/wm_window.h" 17 #include "ash/common/wm_window.h"
18 #include "ash/public/cpp/shell_window_ids.h"
19 #include "base/i18n/time_formatting.h" 19 #include "base/i18n/time_formatting.h"
20 #include "ui/native_theme/native_theme_dark_aura.h" 20 #include "ui/native_theme/native_theme_dark_aura.h"
21 21
22 #if defined(OS_CHROMEOS) 22 #if defined(OS_CHROMEOS)
23 #include "ash/common/system/chromeos/ime_menu/ime_menu_tray.h" 23 #include "ash/common/system/chromeos/ime_menu/ime_menu_tray.h"
24 #include "ash/common/system/chromeos/palette/palette_tray.h" 24 #include "ash/common/system/chromeos/palette/palette_tray.h"
25 #include "ash/common/system/chromeos/palette/palette_utils.h" 25 #include "ash/common/system/chromeos/palette/palette_utils.h"
26 #include "ash/common/system/chromeos/session/logout_button_tray.h" 26 #include "ash/common/system/chromeos/session/logout_button_tray.h"
27 #include "ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h" 27 #include "ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h"
28 #include "ui/display/display.h" 28 #include "ui/display/display.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 return false; 294 return false;
295 } 295 }
296 #endif 296 #endif
297 297
298 void StatusAreaWidget::AddOverviewButtonTray() { 298 void StatusAreaWidget::AddOverviewButtonTray() {
299 overview_button_tray_ = new OverviewButtonTray(wm_shelf_); 299 overview_button_tray_ = new OverviewButtonTray(wm_shelf_);
300 status_area_widget_delegate_->AddTray(overview_button_tray_); 300 status_area_widget_delegate_->AddTray(overview_button_tray_);
301 } 301 }
302 302
303 } // namespace ash 303 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/session/logout_confirmation_dialog.cc ('k') | ash/common/system/status_area_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698