| 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 "chrome/browser/profiles/profile_manager.h" | 7 #include "chrome/browser/profiles/profile_manager.h" |
| 8 #include "chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h" | 8 #include "chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h" |
| 9 | 9 |
| 10 // static | 10 // static |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 content::WebContents* contents) { | 142 content::WebContents* contents) { |
| 143 NOTIMPLEMENTED(); | 143 NOTIMPLEMENTED(); |
| 144 return ash::TYPE_UNDEFINED; | 144 return ash::TYPE_UNDEFINED; |
| 145 } | 145 } |
| 146 | 146 |
| 147 void ChromeLauncherControllerMus::SetRefocusURLPatternForTest(ash::ShelfID id, | 147 void ChromeLauncherControllerMus::SetRefocusURLPatternForTest(ash::ShelfID id, |
| 148 const GURL& url) { | 148 const GURL& url) { |
| 149 NOTIMPLEMENTED(); | 149 NOTIMPLEMENTED(); |
| 150 } | 150 } |
| 151 | 151 |
| 152 const extensions::Extension* ChromeLauncherControllerMus::GetExtensionForAppID( | |
| 153 const std::string& app_id) const { | |
| 154 NOTIMPLEMENTED(); | |
| 155 return nullptr; | |
| 156 } | |
| 157 | |
| 158 ash::ShelfItemDelegate::PerformedAction | 152 ash::ShelfItemDelegate::PerformedAction |
| 159 ChromeLauncherControllerMus::ActivateWindowOrMinimizeIfActive( | 153 ChromeLauncherControllerMus::ActivateWindowOrMinimizeIfActive( |
| 160 ui::BaseWindow* window, | 154 ui::BaseWindow* window, |
| 161 bool allow_minimize) { | 155 bool allow_minimize) { |
| 162 NOTIMPLEMENTED(); | 156 NOTIMPLEMENTED(); |
| 163 return ash::ShelfItemDelegate::kNoAction; | 157 return ash::ShelfItemDelegate::kNoAction; |
| 164 } | 158 } |
| 165 | 159 |
| 166 void ChromeLauncherControllerMus::ActiveUserChanged( | 160 void ChromeLauncherControllerMus::ActiveUserChanged( |
| 167 const std::string& user_email) { | 161 const std::string& user_email) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 void ChromeLauncherControllerMus::MayUpdateBrowserShortcutItem() { | 220 void ChromeLauncherControllerMus::MayUpdateBrowserShortcutItem() { |
| 227 NOTIMPLEMENTED(); | 221 NOTIMPLEMENTED(); |
| 228 } | 222 } |
| 229 | 223 |
| 230 LauncherItemController* ChromeLauncherControllerMus::GetLauncherItemController( | 224 LauncherItemController* ChromeLauncherControllerMus::GetLauncherItemController( |
| 231 const ash::ShelfID id) { | 225 const ash::ShelfID id) { |
| 232 NOTIMPLEMENTED(); | 226 NOTIMPLEMENTED(); |
| 233 return nullptr; | 227 return nullptr; |
| 234 } | 228 } |
| 235 | 229 |
| 236 bool ChromeLauncherControllerMus::IsBrowserFromActiveUser(Browser* browser) { | |
| 237 NOTIMPLEMENTED(); | |
| 238 return false; | |
| 239 } | |
| 240 | |
| 241 bool ChromeLauncherControllerMus::ShelfBoundsChangesProbablyWithUser( | 230 bool ChromeLauncherControllerMus::ShelfBoundsChangesProbablyWithUser( |
| 242 ash::Shelf* shelf, | 231 ash::Shelf* shelf, |
| 243 const std::string& user_id) const { | 232 const std::string& user_id) const { |
| 244 NOTIMPLEMENTED(); | 233 NOTIMPLEMENTED(); |
| 245 return false; | 234 return false; |
| 246 } | 235 } |
| 247 | 236 |
| 248 void ChromeLauncherControllerMus::OnUserProfileReadyToSwitch(Profile* profile) { | 237 void ChromeLauncherControllerMus::OnUserProfileReadyToSwitch(Profile* profile) { |
| 249 NOTIMPLEMENTED(); | 238 NOTIMPLEMENTED(); |
| 250 } | 239 } |
| 251 | 240 |
| 252 AppListControllerDelegate::Pinnable ChromeLauncherControllerMus::GetPinnable( | |
| 253 const std::string& app_id) { | |
| 254 NOTIMPLEMENTED(); | |
| 255 return AppListControllerDelegate::NO_PIN; | |
| 256 } | |
| 257 | |
| 258 ArcAppDeferredLauncherController* | 241 ArcAppDeferredLauncherController* |
| 259 ChromeLauncherControllerMus::GetArcDeferredLauncher() { | 242 ChromeLauncherControllerMus::GetArcDeferredLauncher() { |
| 260 NOTIMPLEMENTED(); | 243 NOTIMPLEMENTED(); |
| 261 return nullptr; | 244 return nullptr; |
| 262 } | 245 } |
| OLD | NEW |