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

Side by Side Diff: ash/shell.cc

Issue 10834081: Enable wallpaper boot animation for boot into sign in too. Add flag to disable it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: merge Created 8 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
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 "ash/shell.h" 5 #include "ash/shell.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "ash/accelerators/focus_manager_factory.h" 10 #include "ash/accelerators/focus_manager_factory.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual void OpenSetWallpaperPage() OVERRIDE { 130 virtual void OpenSetWallpaperPage() OVERRIDE {
131 } 131 }
132 132
133 virtual bool CanOpenSetWallpaperPage() OVERRIDE { 133 virtual bool CanOpenSetWallpaperPage() OVERRIDE {
134 return false; 134 return false;
135 } 135 }
136 136
137 virtual void OnWallpaperAnimationFinished() OVERRIDE { 137 virtual void OnWallpaperAnimationFinished() OVERRIDE {
138 } 138 }
139 139
140 virtual void OnWallpaperBootAnimationFinished() OVERRIDE {
141 }
142
140 private: 143 private:
141 DISALLOW_COPY_AND_ASSIGN(DummyUserWallpaperDelegate); 144 DISALLOW_COPY_AND_ASSIGN(DummyUserWallpaperDelegate);
142 }; 145 };
143 146
144 } // namespace 147 } // namespace
145 148
146 // static 149 // static
147 Shell* Shell::instance_ = NULL; 150 Shell* Shell::instance_ = NULL;
148 // static 151 // static
149 bool Shell::initially_hide_cursor_ = false; 152 bool Shell::initially_hide_cursor_ = false;
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 } 789 }
787 790
788 void Shell::ShowCursor(bool visible) { 791 void Shell::ShowCursor(bool visible) {
789 RootWindowList root_windows = GetAllRootWindows(); 792 RootWindowList root_windows = GetAllRootWindows();
790 for (RootWindowList::iterator iter = root_windows.begin(); 793 for (RootWindowList::iterator iter = root_windows.begin();
791 iter != root_windows.end(); ++iter) 794 iter != root_windows.end(); ++iter)
792 (*iter)->ShowCursor(visible); 795 (*iter)->ShowCursor(visible);
793 } 796 }
794 797
795 } // namespace ash 798 } // namespace ash
OLDNEW
« no previous file with comments | « ash/desktop_background/desktop_background_controller.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698