| 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/wm/window_util.h" | 8 #include "ash/wm/window_util.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "grit/ui_resources.h" | 10 #include "grit/ash_resources.h" |
| 11 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 namespace test { | 14 namespace test { |
| 15 | 15 |
| 16 TestLauncherDelegate* TestLauncherDelegate::instance_ = NULL; | 16 TestLauncherDelegate* TestLauncherDelegate::instance_ = NULL; |
| 17 | 17 |
| 18 TestLauncherDelegate::TestLauncherDelegate(LauncherModel* model) | 18 TestLauncherDelegate::TestLauncherDelegate(LauncherModel* model) |
| 19 : model_(model) { | 19 : model_(model) { |
| 20 CHECK(!instance_); | 20 CHECK(!instance_); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } | 105 } |
| 106 return NULL; | 106 return NULL; |
| 107 } | 107 } |
| 108 | 108 |
| 109 bool TestLauncherDelegate::IsDraggable(const ash::LauncherItem& item) { | 109 bool TestLauncherDelegate::IsDraggable(const ash::LauncherItem& item) { |
| 110 return true; | 110 return true; |
| 111 } | 111 } |
| 112 | 112 |
| 113 } // namespace test | 113 } // namespace test |
| 114 } // namespace ash | 114 } // namespace ash |
| OLD | NEW |