shelf_delegate_impl.cc revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
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#include "grit/ash_resources.h" 13 14namespace ash { 15namespace shell { 16 17ShelfDelegateImpl::ShelfDelegateImpl(WindowWatcher* watcher) 18 : watcher_(watcher) { 19} 20 21ShelfDelegateImpl::~ShelfDelegateImpl() { 22} 23 24void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) { 25} 26 27void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) { 28} 29 30ShelfID ShelfDelegateImpl::GetShelfIDForAppID(const std::string& app_id) { 31 return 0; 32} 33 34const std::string& ShelfDelegateImpl::GetAppIDForShelfID(ShelfID id) { 35 return base::EmptyString(); 36} 37 38void ShelfDelegateImpl::PinAppWithID(const std::string& app_id) { 39} 40 41bool ShelfDelegateImpl::IsAppPinned(const std::string& app_id) { 42 return false; 43} 44 45bool ShelfDelegateImpl::CanPin() const { 46 return false; 47} 48 49void ShelfDelegateImpl::UnpinAppWithID(const std::string& app_id) { 50} 51 52} // namespace shell 53} // namespace ash 54