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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "apps/app_shim/app_shim_handler_mac.h" | 10 #include "apps/app_shim/app_shim_handler_mac.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 void ShowWindowNearDock(); | 51 void ShowWindowNearDock(); |
52 void WindowAnimationDidEnd(); | 52 void WindowAnimationDidEnd(); |
53 | 53 |
54 // AppListService overrides: | 54 // AppListService overrides: |
55 virtual void Init(Profile* initial_profile) OVERRIDE; | 55 virtual void Init(Profile* initial_profile) OVERRIDE; |
56 virtual void CreateForProfile(Profile* requested_profile) OVERRIDE; | 56 virtual void CreateForProfile(Profile* requested_profile) OVERRIDE; |
57 virtual void ShowForProfile(Profile* requested_profile) OVERRIDE; | 57 virtual void ShowForProfile(Profile* requested_profile) OVERRIDE; |
58 virtual void DismissAppList() OVERRIDE; | 58 virtual void DismissAppList() OVERRIDE; |
59 virtual bool IsAppListVisible() const OVERRIDE; | 59 virtual bool IsAppListVisible() const OVERRIDE; |
60 virtual void EnableAppList(Profile* initial_profile, | 60 virtual void EnableAppList(Profile* initial_profile) OVERRIDE; |
61 AppListEnableSource enable_source) OVERRIDE; | |
62 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; | 61 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; |
63 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE; | 62 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE; |
64 virtual Profile* GetCurrentAppListProfile() OVERRIDE; | 63 virtual Profile* GetCurrentAppListProfile() OVERRIDE; |
65 | 64 |
66 // AppListServiceImpl overrides: | 65 // AppListServiceImpl overrides: |
67 virtual void CreateShortcut() OVERRIDE; | 66 virtual void CreateShortcut() OVERRIDE; |
68 | 67 |
69 // AppShimHandler overrides: | 68 // AppShimHandler overrides: |
70 virtual void OnShimLaunch(apps::AppShimHandler::Host* host, | 69 virtual void OnShimLaunch(apps::AppShimHandler::Host* host, |
71 apps::AppShimLaunchType launch_type, | 70 apps::AppShimLaunchType launch_type, |
(...skipping 15 matching lines...) Expand all Loading... |
87 base::scoped_nsobject<AppListAnimationController> animation_controller_; | 86 base::scoped_nsobject<AppListAnimationController> animation_controller_; |
88 base::scoped_nsobject<NSRunningApplication> previously_active_application_; | 87 base::scoped_nsobject<NSRunningApplication> previously_active_application_; |
89 NSPoint last_start_origin_; | 88 NSPoint last_start_origin_; |
90 Profile* profile_; | 89 Profile* profile_; |
91 scoped_ptr<AppListControllerDelegateImpl> controller_delegate_; | 90 scoped_ptr<AppListControllerDelegateImpl> controller_delegate_; |
92 | 91 |
93 DISALLOW_COPY_AND_ASSIGN(AppListServiceMac); | 92 DISALLOW_COPY_AND_ASSIGN(AppListServiceMac); |
94 }; | 93 }; |
95 | 94 |
96 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_ | 95 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_ |
OLD | NEW |