shelf_delegate_impl.cc revision a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7
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::OnLauncherCreated(Launcher* launcher) {
25}
26
27void ShelfDelegateImpl::OnLauncherDestroyed(Launcher* launcher) {
28}
29
30LauncherID ShelfDelegateImpl::GetLauncherIDForAppID(const std::string& app_id) {
31  return 0;
32}
33
34const std::string& ShelfDelegateImpl::GetAppIDForLauncherID(LauncherID 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