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/launcher/launcher_model.h" | 8 #include "ash/launcher/launcher_model.h" |
9 #include "ash/launcher/launcher_util.h" | 9 #include "ash/launcher/launcher_util.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 return 0; | 142 return 0; |
143 } | 143 } |
144 | 144 |
145 const std::string& TestLauncherDelegate::GetAppIDForLauncherID(LauncherID id) { | 145 const std::string& TestLauncherDelegate::GetAppIDForLauncherID(LauncherID id) { |
146 return EmptyString(); | 146 return EmptyString(); |
147 } | 147 } |
148 | 148 |
149 void TestLauncherDelegate::PinAppWithID(const std::string& app_id) { | 149 void TestLauncherDelegate::PinAppWithID(const std::string& app_id) { |
150 } | 150 } |
151 | 151 |
| 152 bool TestLauncherDelegate::CanPin() const { |
| 153 return true; |
| 154 } |
| 155 |
152 bool TestLauncherDelegate::IsAppPinned(const std::string& app_id) { | 156 bool TestLauncherDelegate::IsAppPinned(const std::string& app_id) { |
153 return false; | 157 return false; |
154 } | 158 } |
155 | 159 |
156 void TestLauncherDelegate::UnpinAppWithID(const std::string& app_id) { | 160 void TestLauncherDelegate::UnpinAppWithID(const std::string& app_id) { |
157 } | 161 } |
158 | 162 |
159 } // namespace test | 163 } // namespace test |
160 } // namespace ash | 164 } // namespace ash |
OLD | NEW |