• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
14 namespace ash {
15 namespace shell {
16 
ShelfDelegateImpl(WindowWatcher * watcher)17 ShelfDelegateImpl::ShelfDelegateImpl(WindowWatcher* watcher)
18     : watcher_(watcher) {
19 }
20 
~ShelfDelegateImpl()21 ShelfDelegateImpl::~ShelfDelegateImpl() {
22 }
23 
OnLauncherCreated(Launcher * launcher)24 void ShelfDelegateImpl::OnLauncherCreated(Launcher* launcher) {
25 }
26 
OnLauncherDestroyed(Launcher * launcher)27 void ShelfDelegateImpl::OnLauncherDestroyed(Launcher* launcher) {
28 }
29 
GetLauncherIDForAppID(const std::string & app_id)30 LauncherID ShelfDelegateImpl::GetLauncherIDForAppID(const std::string& app_id) {
31   return 0;
32 }
33 
GetAppIDForLauncherID(LauncherID id)34 const std::string& ShelfDelegateImpl::GetAppIDForLauncherID(LauncherID id) {
35   return base::EmptyString();
36 }
37 
PinAppWithID(const std::string & app_id)38 void ShelfDelegateImpl::PinAppWithID(const std::string& app_id) {
39 }
40 
IsAppPinned(const std::string & app_id)41 bool ShelfDelegateImpl::IsAppPinned(const std::string& app_id) {
42   return false;
43 }
44 
CanPin() const45 bool ShelfDelegateImpl::CanPin() const {
46   return false;
47 }
48 
UnpinAppWithID(const std::string & app_id)49 void ShelfDelegateImpl::UnpinAppWithID(const std::string& app_id) {
50 }
51 
52 }  // namespace shell
53 }  // namespace ash
54