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

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

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SHOWER_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 22 matching lines...) Expand all
33 Profile* profile() const { return profile_; } 33 Profile* profile() const { return profile_; }
34 34
35 // Create or recreate, and initialize |app_list_| from |requested_profile|. 35 // Create or recreate, and initialize |app_list_| from |requested_profile|.
36 void CreateViewForProfile(Profile* requested_profile); 36 void CreateViewForProfile(Profile* requested_profile);
37 37
38 void DismissAppList(); 38 void DismissAppList();
39 39
40 // Virtual functions mocked out in tests. 40 // Virtual functions mocked out in tests.
41 virtual void HandleViewBeingDestroyed(); 41 virtual void HandleViewBeingDestroyed();
42 virtual bool IsAppListVisible() const; 42 virtual bool IsAppListVisible() const;
43 void WarmupForProfile(Profile* profile);
44 virtual bool HasView() const; 43 virtual bool HasView() const;
45 44
46 protected: 45 protected:
47 virtual app_list::AppListView* MakeViewForCurrentProfile(); 46 virtual app_list::AppListView* MakeViewForCurrentProfile();
48 virtual void UpdateViewForNewProfile(); 47 virtual void UpdateViewForNewProfile();
49 48
50 // Shows the app list, activates it, and ensures the taskbar icon is updated. 49 // Shows the app list, activates it, and ensures the taskbar icon is updated.
51 virtual void Show(); 50 virtual void Show();
52 virtual void Hide(); 51 virtual void Hide();
53 52
(...skipping 13 matching lines...) Expand all
67 66
68 // Used to keep the browser process alive while the app list is visible. 67 // Used to keep the browser process alive while the app list is visible.
69 std::unique_ptr<ScopedKeepAlive> keep_alive_; 68 std::unique_ptr<ScopedKeepAlive> keep_alive_;
70 69
71 bool window_icon_updated_; 70 bool window_icon_updated_;
72 71
73 DISALLOW_COPY_AND_ASSIGN(AppListShower); 72 DISALLOW_COPY_AND_ASSIGN(AppListShower);
74 }; 73 };
75 74
76 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_ 75 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698