| OLD | NEW |
| 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 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.h" | 5 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.h" |
| 6 | 6 |
| 7 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/profiles/profile_manager.h" | 9 #include "chrome/browser/profiles/profile_manager.h" |
| 10 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" | 10 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 bool ChromeLauncherControllerMus::IsPinned(ash::ShelfID id) { | 107 bool ChromeLauncherControllerMus::IsPinned(ash::ShelfID id) { |
| 108 NOTIMPLEMENTED(); | 108 NOTIMPLEMENTED(); |
| 109 return false; | 109 return false; |
| 110 } | 110 } |
| 111 | 111 |
| 112 void ChromeLauncherControllerMus::TogglePinned(ash::ShelfID id) { | 112 void ChromeLauncherControllerMus::TogglePinned(ash::ShelfID id) { |
| 113 NOTIMPLEMENTED(); | 113 NOTIMPLEMENTED(); |
| 114 } | 114 } |
| 115 | 115 |
| 116 bool ChromeLauncherControllerMus::IsPinnable(ash::ShelfID id) const { | |
| 117 NOTIMPLEMENTED(); | |
| 118 return false; | |
| 119 } | |
| 120 | |
| 121 void ChromeLauncherControllerMus::LockV1AppWithID(const std::string& app_id) { | 116 void ChromeLauncherControllerMus::LockV1AppWithID(const std::string& app_id) { |
| 122 NOTIMPLEMENTED(); | 117 NOTIMPLEMENTED(); |
| 123 } | 118 } |
| 124 | 119 |
| 125 void ChromeLauncherControllerMus::UnlockV1AppWithID(const std::string& app_id) { | 120 void ChromeLauncherControllerMus::UnlockV1AppWithID(const std::string& app_id) { |
| 126 NOTIMPLEMENTED(); | 121 NOTIMPLEMENTED(); |
| 127 } | 122 } |
| 128 | 123 |
| 129 void ChromeLauncherControllerMus::Launch(ash::ShelfID id, int event_flags) { | 124 void ChromeLauncherControllerMus::Launch(ash::ShelfID id, int event_flags) { |
| 130 NOTIMPLEMENTED(); | 125 NOTIMPLEMENTED(); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 app_id_to_item_delegate_.insert( | 299 app_id_to_item_delegate_.insert( |
| 305 std::make_pair(app_id, std::move(delegate))); | 300 std::make_pair(app_id, std::move(delegate))); |
| 306 | 301 |
| 307 AppIconLoader* app_icon_loader = GetAppIconLoaderForApp(app_id); | 302 AppIconLoader* app_icon_loader = GetAppIconLoaderForApp(app_id); |
| 308 if (app_icon_loader) { | 303 if (app_icon_loader) { |
| 309 app_icon_loader->FetchImage(app_id); | 304 app_icon_loader->FetchImage(app_id); |
| 310 app_icon_loader->UpdateImage(app_id); | 305 app_icon_loader->UpdateImage(app_id); |
| 311 } | 306 } |
| 312 } | 307 } |
| 313 } | 308 } |
| OLD | NEW |