| 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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |