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 <string> | 5 #include <string> |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell/example_factory.h" | 8 #include "ash/shell/example_factory.h" |
9 #include "ash/shell/toplevel_window.h" | 9 #include "ash/shell/toplevel_window.h" |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 virtual void StopSearch() OVERRIDE { | 272 virtual void StopSearch() OVERRIDE { |
273 // Nothing needs to be done. | 273 // Nothing needs to be done. |
274 } | 274 } |
275 | 275 |
276 virtual void Close() OVERRIDE { | 276 virtual void Close() OVERRIDE { |
277 DCHECK(ash::Shell::HasInstance()); | 277 DCHECK(ash::Shell::HasInstance()); |
278 if (Shell::GetInstance()->GetAppListTargetVisibility()) | 278 if (Shell::GetInstance()->GetAppListTargetVisibility()) |
279 Shell::GetInstance()->ToggleAppList(); | 279 Shell::GetInstance()->ToggleAppList(); |
280 } | 280 } |
281 | 281 |
| 282 virtual void ViewClosing() OVERRIDE { |
| 283 // Nothing needs to be done. |
| 284 } |
| 285 |
| 286 virtual void ViewActivationChanged(bool active) OVERRIDE { |
| 287 // Nothing needs to be done. |
| 288 } |
| 289 |
282 app_list::AppListModel* model_; | 290 app_list::AppListModel* model_; |
283 | 291 |
284 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); | 292 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); |
285 }; | 293 }; |
286 | 294 |
287 } // namespace | 295 } // namespace |
288 | 296 |
289 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 297 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
290 return new ExampleAppListViewDelegate; | 298 return new ExampleAppListViewDelegate; |
291 } | 299 } |
292 | 300 |
293 } // namespace shell | 301 } // namespace shell |
294 } // namespace ash | 302 } // namespace ash |
OLD | NEW |