OLD | NEW |
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 #import "chrome/browser/ui/app_list/app_list_service_mac.h" | 5 #import "chrome/browser/ui/app_list/app_list_service_mac.h" |
6 | 6 |
7 #include <ApplicationServices/ApplicationServices.h> | 7 #include <ApplicationServices/ApplicationServices.h> |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
14 #include "base/mac/mac_util.h" | |
15 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
16 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
17 #include "base/prefs/pref_service.h" | 16 #include "base/prefs/pref_service.h" |
18 #import "chrome/browser/app_controller_mac.h" | 17 #import "chrome/browser/app_controller_mac.h" |
19 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
20 #include "chrome/browser/extensions/extension_service.h" | 19 #include "chrome/browser/extensions/extension_service.h" |
21 #include "chrome/browser/profiles/profile_manager.h" | 20 #include "chrome/browser/profiles/profile_manager.h" |
22 #include "chrome/browser/ui/app_list/app_list_controller_delegate_impl.h" | 21 #include "chrome/browser/ui/app_list/app_list_controller_delegate_impl.h" |
23 #include "chrome/browser/ui/app_list/app_list_positioner.h" | 22 #include "chrome/browser/ui/app_list/app_list_positioner.h" |
24 #include "chrome/browser/ui/app_list/app_list_service.h" | 23 #include "chrome/browser/ui/app_list/app_list_service.h" |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 | 596 |
598 - (void)animationDidEnd:(NSAnimation*)animation { | 597 - (void)animationDidEnd:(NSAnimation*)animation { |
599 content::BrowserThread::PostTask( | 598 content::BrowserThread::PostTask( |
600 content::BrowserThread::UI, | 599 content::BrowserThread::UI, |
601 FROM_HERE, | 600 FROM_HERE, |
602 base::Bind(&AppListServiceMac::WindowAnimationDidEnd, | 601 base::Bind(&AppListServiceMac::WindowAnimationDidEnd, |
603 base::Unretained(AppListServiceMac::GetInstance()))); | 602 base::Unretained(AppListServiceMac::GetInstance()))); |
604 } | 603 } |
605 | 604 |
606 @end | 605 @end |
OLD | NEW |