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

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: zero 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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 } 785 }
783 786
784 void Shell::ShowCursor(bool visible) { 787 void Shell::ShowCursor(bool visible) {
785 RootWindowList root_windows = GetAllRootWindows(); 788 RootWindowList root_windows = GetAllRootWindows();
786 for (RootWindowList::iterator iter = root_windows.begin(); 789 for (RootWindowList::iterator iter = root_windows.begin();
787 iter != root_windows.end(); ++iter) 790 iter != root_windows.end(); ++iter)
788 (*iter)->ShowCursor(visible); 791 (*iter)->ShowCursor(visible);
789 } 792 }
790 793
791 } // namespace ash 794 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698