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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service_mac.h

Issue 265163006: [Mac] Rebuild app shims when they fail to dyload Chrome Framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 years, 7 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 #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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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,
61 AppListEnableSource enable_source) OVERRIDE; 61 AppListEnableSource enable_source) OVERRIDE;
62 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; 62 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE;
63 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE; 63 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE;
64 virtual Profile* GetCurrentAppListProfile() OVERRIDE; 64 virtual Profile* GetCurrentAppListProfile() OVERRIDE;
65
66 // AppListServiceImpl overrides:
67 virtual void CreateShortcut() OVERRIDE; 65 virtual void CreateShortcut() OVERRIDE;
68 66
69 // AppShimHandler overrides: 67 // AppShimHandler overrides:
70 virtual void OnShimLaunch(apps::AppShimHandler::Host* host, 68 virtual void OnShimLaunch(apps::AppShimHandler::Host* host,
71 apps::AppShimLaunchType launch_type, 69 apps::AppShimLaunchType launch_type,
72 const std::vector<base::FilePath>& files) OVERRIDE; 70 const std::vector<base::FilePath>& files) OVERRIDE;
73 virtual void OnShimClose(apps::AppShimHandler::Host* host) OVERRIDE; 71 virtual void OnShimClose(apps::AppShimHandler::Host* host) OVERRIDE;
74 virtual void OnShimFocus(apps::AppShimHandler::Host* host, 72 virtual void OnShimFocus(apps::AppShimHandler::Host* host,
75 apps::AppShimFocusType focus_type, 73 apps::AppShimFocusType focus_type,
76 const std::vector<base::FilePath>& files) OVERRIDE; 74 const std::vector<base::FilePath>& files) OVERRIDE;
(...skipping 10 matching lines...) Expand all
87 base::scoped_nsobject<AppListAnimationController> animation_controller_; 85 base::scoped_nsobject<AppListAnimationController> animation_controller_;
88 base::scoped_nsobject<NSRunningApplication> previously_active_application_; 86 base::scoped_nsobject<NSRunningApplication> previously_active_application_;
89 NSPoint last_start_origin_; 87 NSPoint last_start_origin_;
90 Profile* profile_; 88 Profile* profile_;
91 scoped_ptr<AppListControllerDelegateImpl> controller_delegate_; 89 scoped_ptr<AppListControllerDelegateImpl> controller_delegate_;
92 90
93 DISALLOW_COPY_AND_ASSIGN(AppListServiceMac); 91 DISALLOW_COPY_AND_ASSIGN(AppListServiceMac);
94 }; 92 };
95 93
96 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_ 94 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698