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

Side by Side Diff: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.h

Issue 2577103002: arc: Rename methods in ArcSessionManager::Observer. (Closed)
Patch Set: OnArcShutdownBridge -> OnArcBridgeShutdown Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ASH_LAUNCHER_ARC_APP_DEFERRED_LAUNCHER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_DEFERRED_LAUNCHER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_DEFERRED_LAUNCHER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_DEFERRED_LAUNCHER_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 29 matching lines...) Expand all
40 40
41 // Applies spinning effect if requested app is handled by deferred controller. 41 // Applies spinning effect if requested app is handled by deferred controller.
42 void MaybeApplySpinningEffect(const std::string& app_id, 42 void MaybeApplySpinningEffect(const std::string& app_id,
43 gfx::ImageSkia* image); 43 gfx::ImageSkia* image);
44 44
45 // ArcAppListPrefs::Observer: 45 // ArcAppListPrefs::Observer:
46 void OnAppReadyChanged(const std::string& app_id, bool ready) override; 46 void OnAppReadyChanged(const std::string& app_id, bool ready) override;
47 void OnAppRemoved(const std::string& app_id) override; 47 void OnAppRemoved(const std::string& app_id) override;
48 48
49 // arc::ArcSessionManager::Observer: 49 // arc::ArcSessionManager::Observer:
50 void OnOptInEnabled(bool enabled) override; 50 void OnArcOptInChanged(bool enabled) override;
51 51
52 // Removes entry from the list of tracking items. 52 // Removes entry from the list of tracking items.
53 void Remove(const std::string& app_id); 53 void Remove(const std::string& app_id);
54 54
55 // Closes Shelf item if it has ArcAppDeferredLauncherItemController controller 55 // Closes Shelf item if it has ArcAppDeferredLauncherItemController controller
56 // and removes entry from the list of tracking items. 56 // and removes entry from the list of tracking items.
57 void Close(const std::string& app_id); 57 void Close(const std::string& app_id);
58 58
59 private: 59 private:
60 // Defines mapping of a shelf app id to a corresponded controller. Shelf app 60 // Defines mapping of a shelf app id to a corresponded controller. Shelf app
(...skipping 10 matching lines...) Expand all
71 71
72 AppControllerMap app_controller_map_; 72 AppControllerMap app_controller_map_;
73 73
74 // Always keep this the last member of this class. 74 // Always keep this the last member of this class.
75 base::WeakPtrFactory<ArcAppDeferredLauncherController> weak_ptr_factory_; 75 base::WeakPtrFactory<ArcAppDeferredLauncherController> weak_ptr_factory_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(ArcAppDeferredLauncherController); 77 DISALLOW_COPY_AND_ASSIGN(ArcAppDeferredLauncherController);
78 }; 78 };
79 79
80 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_DEFERRED_LAUNCHER_CONTROLLER_H _ 80 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_DEFERRED_LAUNCHER_CONTROLLER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698