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

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

Issue 22268009: Move signin status and current user information into AppListModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_service_impl.h » ('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/session_state_delegate.h" 7 #include "ash/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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 } 291 }
292 292
293 virtual void ViewClosing() OVERRIDE { 293 virtual void ViewClosing() OVERRIDE {
294 // Nothing needs to be done. 294 // Nothing needs to be done.
295 } 295 }
296 296
297 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE { 297 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE {
298 return gfx::ImageSkia(); 298 return gfx::ImageSkia();
299 } 299 }
300 300
301 virtual base::string16 GetCurrentUserName() OVERRIDE {
302 return base::string16();
303 }
304
305 virtual base::string16 GetCurrentUserEmail() OVERRIDE {
306 return base::string16();
307 }
308
309 virtual void OpenSettings() OVERRIDE { 301 virtual void OpenSettings() OVERRIDE {
310 // Nothing needs to be done. 302 // Nothing needs to be done.
311 } 303 }
312 304
313 virtual void OpenHelp() OVERRIDE { 305 virtual void OpenHelp() OVERRIDE {
314 // Nothing needs to be done. 306 // Nothing needs to be done.
315 } 307 }
316 308
317 virtual void OpenFeedback() OVERRIDE { 309 virtual void OpenFeedback() OVERRIDE {
318 // Nothing needs to be done. 310 // Nothing needs to be done.
319 } 311 }
320 312
321 app_list::AppListModel* model_; 313 app_list::AppListModel* model_;
322 314
323 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); 315 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate);
324 }; 316 };
325 317
326 } // namespace 318 } // namespace
327 319
328 app_list::AppListViewDelegate* CreateAppListViewDelegate() { 320 app_list::AppListViewDelegate* CreateAppListViewDelegate() {
329 return new ExampleAppListViewDelegate; 321 return new ExampleAppListViewDelegate;
330 } 322 }
331 323
332 } // namespace shell 324 } // namespace shell
333 } // namespace ash 325 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698