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

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

Issue 1137503005: Add launcherPage.hide() API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mobile Created 5 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
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 "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 void ShowWindowNearDock(); 45 void ShowWindowNearDock();
46 void WindowAnimationDidEnd(); 46 void WindowAnimationDidEnd();
47 void InitWithProfilePath(Profile* initial_profile, 47 void InitWithProfilePath(Profile* initial_profile,
48 const base::FilePath& profile_path); 48 const base::FilePath& profile_path);
49 49
50 // AppListService overrides: 50 // AppListService overrides:
51 void Init(Profile* initial_profile) override; 51 void Init(Profile* initial_profile) override;
52 void DismissAppList() override; 52 void DismissAppList() override;
53 void ShowForCustomLauncherPage(Profile* profile) override; 53 void ShowForCustomLauncherPage(Profile* profile) override;
54 void HideCustomLauncherPage() override;
54 bool IsAppListVisible() const override; 55 bool IsAppListVisible() const override;
55 void EnableAppList(Profile* initial_profile, 56 void EnableAppList(Profile* initial_profile,
56 AppListEnableSource enable_source) override; 57 AppListEnableSource enable_source) override;
57 gfx::NativeWindow GetAppListWindow() override; 58 gfx::NativeWindow GetAppListWindow() override;
58 void CreateShortcut() override; 59 void CreateShortcut() override;
59 60
60 // AppShimHandler overrides: 61 // AppShimHandler overrides:
61 void OnShimLaunch(apps::AppShimHandler::Host* host, 62 void OnShimLaunch(apps::AppShimHandler::Host* host,
62 apps::AppShimLaunchType launch_type, 63 apps::AppShimLaunchType launch_type,
63 const std::vector<base::FilePath>& files) override; 64 const std::vector<base::FilePath>& files) override;
(...skipping 19 matching lines...) Expand all
83 84
84 private: 85 private:
85 base::scoped_nsobject<AppListAnimationController> animation_controller_; 86 base::scoped_nsobject<AppListAnimationController> animation_controller_;
86 base::scoped_nsobject<NSRunningApplication> previously_active_application_; 87 base::scoped_nsobject<NSRunningApplication> previously_active_application_;
87 NSPoint last_start_origin_; 88 NSPoint last_start_origin_;
88 89
89 DISALLOW_COPY_AND_ASSIGN(AppListServiceMac); 90 DISALLOW_COPY_AND_ASSIGN(AppListServiceMac);
90 }; 91 };
91 92
92 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_ 93 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_disabled.cc ('k') | chrome/browser/ui/app_list/app_list_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698