| OLD | NEW |
| 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 #include "ash/shell/shelf_delegate_impl.h" | 5 #include "ash/shell/shelf_delegate_impl.h" |
| 6 | 6 |
| 7 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
| 8 | 8 |
| 9 namespace ash { | 9 namespace ash { |
| 10 namespace shell { | 10 namespace shell { |
| 11 | 11 |
| 12 ShelfDelegateImpl::ShelfDelegateImpl() {} | 12 ShelfDelegateImpl::ShelfDelegateImpl() {} |
| 13 | 13 |
| 14 ShelfDelegateImpl::~ShelfDelegateImpl() {} | 14 ShelfDelegateImpl::~ShelfDelegateImpl() {} |
| 15 | 15 |
| 16 void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) {} | 16 void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) {} |
| 17 | 17 |
| 18 void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) {} | 18 void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) {} |
| 19 | 19 |
| 20 void ShelfDelegateImpl::OnShelfAlignmentChanged(Shelf* shelf) {} | 20 void ShelfDelegateImpl::OnShelfAlignmentChanged(Shelf* shelf) {} |
| 21 | 21 |
| 22 void ShelfDelegateImpl::OnShelfAutoHideBehaviorChanged(Shelf* shelf) {} | 22 void ShelfDelegateImpl::OnShelfAutoHideBehaviorChanged(Shelf* shelf) {} |
| 23 | 23 |
| 24 void ShelfDelegateImpl::OnShelfAutoHideStateChanged(Shelf* shelf) {} |
| 25 |
| 26 void ShelfDelegateImpl::OnShelfVisibilityStateChanged(Shelf* shelf) {} |
| 27 |
| 24 ShelfID ShelfDelegateImpl::GetShelfIDForAppID(const std::string& app_id) { | 28 ShelfID ShelfDelegateImpl::GetShelfIDForAppID(const std::string& app_id) { |
| 25 return 0; | 29 return 0; |
| 26 } | 30 } |
| 27 | 31 |
| 28 bool ShelfDelegateImpl::HasShelfIDToAppIDMapping(ShelfID id) const { | 32 bool ShelfDelegateImpl::HasShelfIDToAppIDMapping(ShelfID id) const { |
| 29 return false; | 33 return false; |
| 30 } | 34 } |
| 31 | 35 |
| 32 const std::string& ShelfDelegateImpl::GetAppIDForShelfID(ShelfID id) { | 36 const std::string& ShelfDelegateImpl::GetAppIDForShelfID(ShelfID id) { |
| 33 return base::EmptyString(); | 37 return base::EmptyString(); |
| 34 } | 38 } |
| 35 | 39 |
| 36 void ShelfDelegateImpl::PinAppWithID(const std::string& app_id) {} | 40 void ShelfDelegateImpl::PinAppWithID(const std::string& app_id) {} |
| 37 | 41 |
| 38 bool ShelfDelegateImpl::IsAppPinned(const std::string& app_id) { | 42 bool ShelfDelegateImpl::IsAppPinned(const std::string& app_id) { |
| 39 return false; | 43 return false; |
| 40 } | 44 } |
| 41 | 45 |
| 42 void ShelfDelegateImpl::UnpinAppWithID(const std::string& app_id) {} | 46 void ShelfDelegateImpl::UnpinAppWithID(const std::string& app_id) {} |
| 43 | 47 |
| 44 } // namespace shell | 48 } // namespace shell |
| 45 } // namespace ash | 49 } // namespace ash |
| OLD | NEW |