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

Side by Side Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | Annotate | Revision Log
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 "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" 5 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/ash_switches.h" 9 #include "ash/ash_switches.h"
10 #include "ash/desktop_background/desktop_background_controller.h" 10 #include "ash/desktop_background/desktop_background_controller.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #include "extensions/browser/extension_system.h" 74 #include "extensions/browser/extension_system.h"
75 #include "extensions/common/extension.h" 75 #include "extensions/common/extension.h"
76 #include "extensions/common/extension_resource.h" 76 #include "extensions/common/extension_resource.h"
77 #include "extensions/common/url_pattern.h" 77 #include "extensions/common/url_pattern.h"
78 #include "grit/ash_resources.h" 78 #include "grit/ash_resources.h"
79 #include "grit/chromium_strings.h" 79 #include "grit/chromium_strings.h"
80 #include "grit/generated_resources.h" 80 #include "grit/generated_resources.h"
81 #include "grit/theme_resources.h" 81 #include "grit/theme_resources.h"
82 #include "grit/ui_resources.h" 82 #include "grit/ui_resources.h"
83 #include "net/base/url_util.h" 83 #include "net/base/url_util.h"
84 #include "ui/aura/root_window.h"
85 #include "ui/aura/window.h" 84 #include "ui/aura/window.h"
85 #include "ui/aura/window_event_dispatcher.h"
86 #include "ui/base/l10n/l10n_util.h" 86 #include "ui/base/l10n/l10n_util.h"
87 #include "ui/views/corewm/window_animations.h" 87 #include "ui/views/corewm/window_animations.h"
88 88
89 #if defined(OS_CHROMEOS) 89 #if defined(OS_CHROMEOS)
90 #include "chrome/browser/browser_process.h" 90 #include "chrome/browser/browser_process.h"
91 #include "chrome/browser/chromeos/login/user_manager.h" 91 #include "chrome/browser/chromeos/login/user_manager.h"
92 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" 92 #include "chrome/browser/ui/ash/chrome_shell_delegate.h"
93 #include "chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_contr oller.h" 93 #include "chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_contr oller.h"
94 #include "chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.h" 94 #include "chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.h"
95 #endif 95 #endif
(...skipping 1962 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 } 2058 }
2059 2059
2060 void ChromeLauncherController::ReleaseProfile() { 2060 void ChromeLauncherController::ReleaseProfile() {
2061 if (app_sync_ui_state_) 2061 if (app_sync_ui_state_)
2062 app_sync_ui_state_->RemoveObserver(this); 2062 app_sync_ui_state_->RemoveObserver(this);
2063 2063
2064 PrefServiceSyncable::FromProfile(profile_)->RemoveObserver(this); 2064 PrefServiceSyncable::FromProfile(profile_)->RemoveObserver(this);
2065 2065
2066 pref_change_registrar_.RemoveAll(); 2066 pref_change_registrar_.RemoveAll();
2067 } 2067 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698