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 3 // found in the LICENSE file. 4 5 #include "ash/shell/shelf_delegate_impl.h" 6 7 #include "ash/shell.h" 8 #include "ash/shell/toplevel_window.h" 9 #include "ash/shell/window_watcher.h" 10 #include "ash/wm/window_util.h" 11 #include "base/strings/string_util.h" 12 13 namespace ash { 14 namespace shell { 15 ShelfDelegateImpl(WindowWatcher * watcher)16ShelfDelegateImpl::ShelfDelegateImpl(WindowWatcher* watcher) 17 : watcher_(watcher) { 18 } 19 ~ShelfDelegateImpl()20ShelfDelegateImpl::~ShelfDelegateImpl() { 21 } 22 OnShelfCreated(Shelf * shelf)23void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) { 24 } 25 OnShelfDestroyed(Shelf * shelf)26void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) { 27 } 28 GetShelfIDForAppID(const std::string & app_id)29ShelfID ShelfDelegateImpl::GetShelfIDForAppID(const std::string& app_id) { 30 return 0; 31 } 32 GetAppIDForShelfID(ShelfID id)33const std::string& ShelfDelegateImpl::GetAppIDForShelfID(ShelfID id) { 34 return base::EmptyString(); 35 } 36 PinAppWithID(const std::string & app_id)37void ShelfDelegateImpl::PinAppWithID(const std::string& app_id) { 38 } 39 IsAppPinned(const std::string & app_id)40bool ShelfDelegateImpl::IsAppPinned(const std::string& app_id) { 41 return false; 42 } 43 CanPin() const44bool ShelfDelegateImpl::CanPin() const { 45 return false; 46 } 47 UnpinAppWithID(const std::string & app_id)48void ShelfDelegateImpl::UnpinAppWithID(const std::string& app_id) { 49 } 50 51 } // namespace shell 52 } // namespace ash 53