OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |