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_model.h" | 7 #include "ash/launcher/launcher_model.h" |
8 #include "ash/launcher/launcher_util.h" | 8 #include "ash/launcher/launcher_util.h" |
9 #include "ash/wm/window_util.h" | 9 #include "ash/wm/window_util.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 bool TestLauncherDelegate::ShouldShowTooltip(const ash::LauncherItem& item) { | 119 bool TestLauncherDelegate::ShouldShowTooltip(const ash::LauncherItem& item) { |
120 return true; | 120 return true; |
121 } | 121 } |
122 | 122 |
123 void TestLauncherDelegate::OnLauncherCreated(Launcher* launcher) { | 123 void TestLauncherDelegate::OnLauncherCreated(Launcher* launcher) { |
124 } | 124 } |
125 | 125 |
126 void TestLauncherDelegate::OnLauncherDestroyed(Launcher* launcher) { | 126 void TestLauncherDelegate::OnLauncherDestroyed(Launcher* launcher) { |
127 } | 127 } |
128 | 128 |
129 bool TestLauncherDelegate::IsPerAppLauncher() { | |
130 return true; | |
131 } | |
132 | |
133 LauncherID TestLauncherDelegate::GetLauncherIDForAppID( | 129 LauncherID TestLauncherDelegate::GetLauncherIDForAppID( |
134 const std::string& app_id) { | 130 const std::string& app_id) { |
135 return 0; | 131 return 0; |
136 } | 132 } |
137 | 133 |
138 void TestLauncherDelegate::PinAppWithID(const std::string& app_id) { | 134 void TestLauncherDelegate::PinAppWithID(const std::string& app_id) { |
139 } | 135 } |
140 | 136 |
141 bool TestLauncherDelegate::IsAppPinned(const std::string& app_id) { | 137 bool TestLauncherDelegate::IsAppPinned(const std::string& app_id) { |
142 return false; | 138 return false; |
143 } | 139 } |
144 | 140 |
145 void TestLauncherDelegate::UnpinAppsWithID(const std::string& app_id) { | 141 void TestLauncherDelegate::UnpinAppsWithID(const std::string& app_id) { |
146 } | 142 } |
147 | 143 |
148 } // namespace test | 144 } // namespace test |
149 } // namespace ash | 145 } // namespace ash |
OLD | NEW |