| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/test/test_launcher_delegate.h" | 5 #include "ash/test/test_launcher_delegate.h" |
| 6 | 6 |
| 7 #include "ash/launcher/launcher_item_delegate_manager.h" | 7 #include "ash/launcher/launcher_item_delegate_manager.h" |
| 8 #include "ash/shelf/shelf_model.h" | 8 #include "ash/shelf/shelf_model.h" |
| 9 #include "ash/shelf/shelf_util.h" | 9 #include "ash/shelf/shelf_util.h" |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 void TestLauncherDelegate::OnLauncherDestroyed(Launcher* launcher) { | 84 void TestLauncherDelegate::OnLauncherDestroyed(Launcher* launcher) { |
| 85 } | 85 } |
| 86 | 86 |
| 87 LauncherID TestLauncherDelegate::GetLauncherIDForAppID( | 87 LauncherID TestLauncherDelegate::GetLauncherIDForAppID( |
| 88 const std::string& app_id) { | 88 const std::string& app_id) { |
| 89 return 0; | 89 return 0; |
| 90 } | 90 } |
| 91 | 91 |
| 92 const std::string& TestLauncherDelegate::GetAppIDForLauncherID(LauncherID id) { | 92 const std::string& TestLauncherDelegate::GetAppIDForLauncherID(LauncherID id) { |
| 93 return EmptyString(); | 93 return base::EmptyString(); |
| 94 } | 94 } |
| 95 | 95 |
| 96 void TestLauncherDelegate::PinAppWithID(const std::string& app_id) { | 96 void TestLauncherDelegate::PinAppWithID(const std::string& app_id) { |
| 97 } | 97 } |
| 98 | 98 |
| 99 bool TestLauncherDelegate::CanPin() const { | 99 bool TestLauncherDelegate::CanPin() const { |
| 100 return true; | 100 return true; |
| 101 } | 101 } |
| 102 | 102 |
| 103 bool TestLauncherDelegate::IsAppPinned(const std::string& app_id) { | 103 bool TestLauncherDelegate::IsAppPinned(const std::string& app_id) { |
| 104 return false; | 104 return false; |
| 105 } | 105 } |
| 106 | 106 |
| 107 void TestLauncherDelegate::UnpinAppWithID(const std::string& app_id) { | 107 void TestLauncherDelegate::UnpinAppWithID(const std::string& app_id) { |
| 108 } | 108 } |
| 109 | 109 |
| 110 } // namespace test | 110 } // namespace test |
| 111 } // namespace ash | 111 } // namespace ash |
| OLD | NEW |