Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Side by Side Diff: ash/shell/app_list.cc

Issue 10900018: Introduce App Launcher for Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase gyp file for ui extraction Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/wm/app_list_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 gfx::ImageSkia GetWindowAppIcon() OVERRIDE {
283 return gfx::ImageSkia();
284 }
285
282 app_list::AppListModel* model_; 286 app_list::AppListModel* model_;
283 287
284 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); 288 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate);
285 }; 289 };
286 290
287 } // namespace 291 } // namespace
288 292
289 app_list::AppListViewDelegate* CreateAppListViewDelegate() { 293 app_list::AppListViewDelegate* CreateAppListViewDelegate() {
290 return new ExampleAppListViewDelegate; 294 return new ExampleAppListViewDelegate;
291 } 295 }
292 296
293 } // namespace shell 297 } // namespace shell
294 } // namespace ash 298 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | ash/wm/app_list_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698