Call InvalidationController#refreshRegisteredTypes() on Chrome startup
[chromium-blink-merge.git] / ash / shell / shelf_delegate_impl.cc
blob273ce2a2ea1145788be51ee1aee2e96d165dcb5b
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.
5 #include "ash/shell/shelf_delegate_impl.h"
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"
13 namespace ash {
14 namespace shell {
16 ShelfDelegateImpl::ShelfDelegateImpl(WindowWatcher* watcher)
17 : watcher_(watcher) {
20 ShelfDelegateImpl::~ShelfDelegateImpl() {
23 void ShelfDelegateImpl::OnShelfCreated(Shelf* shelf) {
26 void ShelfDelegateImpl::OnShelfDestroyed(Shelf* shelf) {
29 ShelfID ShelfDelegateImpl::GetShelfIDForAppID(const std::string& app_id) {
30 return 0;
33 bool ShelfDelegateImpl::HasShelfIDToAppIDMapping(ShelfID id) const {
34 return false;
37 const std::string& ShelfDelegateImpl::GetAppIDForShelfID(ShelfID id) {
38 return base::EmptyString();
41 void ShelfDelegateImpl::PinAppWithID(const std::string& app_id) {
44 bool ShelfDelegateImpl::IsAppPinned(const std::string& app_id) {
45 return false;
48 bool ShelfDelegateImpl::CanPin() const {
49 return false;
52 void ShelfDelegateImpl::UnpinAppWithID(const std::string& app_id) {
55 } // namespace shell
56 } // namespace ash