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