| OLD | NEW |
| 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 "chrome/browser/ui/ash/chrome_shell_delegate.h" | 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <limits> | 9 #include <limits> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "ash/accelerators/magnifier_key_scroller.h" | 12 #include "ash/accelerators/magnifier_key_scroller.h" |
| 13 #include "ash/accelerators/spoken_feedback_toggler.h" | 13 #include "ash/accelerators/spoken_feedback_toggler.h" |
| 14 #include "ash/accessibility_delegate.h" | 14 #include "ash/accessibility_delegate.h" |
| 15 #include "ash/accessibility_types.h" | 15 #include "ash/accessibility_types.h" |
| 16 #include "ash/content/gpu_support_impl.h" | 16 #include "ash/content/gpu_support_impl.h" |
| 17 #include "ash/shell.h" | 17 #include "ash/shell.h" |
| 18 #include "ash/wallpaper/wallpaper_delegate.h" | 18 #include "ash/wallpaper/wallpaper_delegate.h" |
| 19 #include "ash/wm/mru_window_tracker.h" | 19 #include "ash/wm/mru_window_tracker.h" |
| 20 #include "ash/wm/window_state.h" | 20 #include "ash/wm/window_state.h" |
| 21 #include "ash/wm/window_util.h" | 21 #include "ash/wm/window_util.h" |
| 22 #include "ash/wm_window.h" | |
| 23 #include "base/command_line.h" | 22 #include "base/command_line.h" |
| 24 #include "base/macros.h" | 23 #include "base/macros.h" |
| 25 #include "base/memory/ptr_util.h" | 24 #include "base/memory/ptr_util.h" |
| 26 #include "build/build_config.h" | 25 #include "build/build_config.h" |
| 27 #include "chrome/browser/app_mode/app_mode_utils.h" | 26 #include "chrome/browser/app_mode/app_mode_utils.h" |
| 28 #include "chrome/browser/chrome_notification_types.h" | 27 #include "chrome/browser/chrome_notification_types.h" |
| 29 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 28 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 30 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" | 29 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" |
| 31 #include "chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.h
" | 30 #include "chrome/browser/chromeos/arc/fileapi/arc_content_file_system_url_util.h
" |
| 32 #include "chrome/browser/chromeos/ash_config.h" | 31 #include "chrome/browser/chromeos/ash_config.h" |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 NOTREACHED() << "Unexpected notification " << type; | 638 NOTREACHED() << "Unexpected notification " << type; |
| 640 } | 639 } |
| 641 } | 640 } |
| 642 | 641 |
| 643 void ChromeShellDelegate::PlatformInit() { | 642 void ChromeShellDelegate::PlatformInit() { |
| 644 registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, | 643 registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, |
| 645 content::NotificationService::AllSources()); | 644 content::NotificationService::AllSources()); |
| 646 registrar_.Add(this, chrome::NOTIFICATION_SESSION_STARTED, | 645 registrar_.Add(this, chrome::NOTIFICATION_SESSION_STARTED, |
| 647 content::NotificationService::AllSources()); | 646 content::NotificationService::AllSources()); |
| 648 } | 647 } |
| OLD | NEW |