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

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

Issue 309443002: Remove need to sign in to use the App Launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile Created 6 years, 6 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
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/session/session_state_delegate.h" 7 #include "ash/session/session_state_delegate.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/shell/example_factory.h" 9 #include "ash/shell/example_factory.h"
10 #include "ash/shell/toplevel_window.h" 10 #include "ash/shell/toplevel_window.h"
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 virtual const Users& GetUsers() const OVERRIDE { 247 virtual const Users& GetUsers() const OVERRIDE {
248 return users_; 248 return users_;
249 } 249 }
250 250
251 virtual bool ShouldCenterWindow() const OVERRIDE { 251 virtual bool ShouldCenterWindow() const OVERRIDE {
252 return false; 252 return false;
253 } 253 }
254 254
255 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); } 255 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); }
256 256
257 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE {
258 return NULL;
259 }
260
261 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE { 257 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE {
262 return &speech_ui_; 258 return &speech_ui_;
263 } 259 }
264 260
265 virtual void GetShortcutPathForApp( 261 virtual void GetShortcutPathForApp(
266 const std::string& app_id, 262 const std::string& app_id,
267 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE { 263 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE {
268 callback.Run(base::FilePath()); 264 callback.Run(base::FilePath());
269 } 265 }
270 266
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 }; 366 };
371 367
372 } // namespace 368 } // namespace
373 369
374 app_list::AppListViewDelegate* CreateAppListViewDelegate() { 370 app_list::AppListViewDelegate* CreateAppListViewDelegate() {
375 return new ExampleAppListViewDelegate; 371 return new ExampleAppListViewDelegate;
376 } 372 }
377 373
378 } // namespace shell 374 } // namespace shell
379 } // namespace ash 375 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_view_delegate.h » ('j') | ui/app_list/views/app_list_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698