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 #ifndef ASH_SHELL_H_ | 5 #ifndef ASH_SHELL_H_ |
6 #define ASH_SHELL_H_ | 6 #define ASH_SHELL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already | 252 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already |
253 // exists. | 253 // exists. |
254 void CreateKeyboard(); | 254 void CreateKeyboard(); |
255 | 255 |
256 // Deactivates the virtual keyboard. | 256 // Deactivates the virtual keyboard. |
257 void DeactivateKeyboard(); | 257 void DeactivateKeyboard(); |
258 | 258 |
259 // Show shelf view if it was created hidden (before session has started). | 259 // Show shelf view if it was created hidden (before session has started). |
260 void ShowShelf(); | 260 void ShowShelf(); |
261 | 261 |
262 void AddPointerWatcher(views::PointerWatcher* watcher); | 262 void AddPointerWatcher(views::PointerWatcher* watcher, bool wants_moves); |
263 void RemovePointerWatcher(views::PointerWatcher* watcher); | 263 void RemovePointerWatcher(views::PointerWatcher* watcher); |
264 | 264 |
265 #if defined(OS_CHROMEOS) | 265 #if defined(OS_CHROMEOS) |
266 // Test if MaximizeModeWindowManager is not enabled, and if | 266 // Test if MaximizeModeWindowManager is not enabled, and if |
267 // MaximizeModeController is not currently setting a display rotation. Or if | 267 // MaximizeModeController is not currently setting a display rotation. Or if |
268 // the |resolution_notification_controller_| is not showing its confirmation | 268 // the |resolution_notification_controller_| is not showing its confirmation |
269 // dialog. If true then changes to display settings can be saved. | 269 // dialog. If true then changes to display settings can be saved. |
270 bool ShouldSaveDisplaySettings(); | 270 bool ShouldSaveDisplaySettings(); |
271 #endif | 271 #endif |
272 | 272 |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 base::SequencedWorkerPool* blocking_pool_; | 619 base::SequencedWorkerPool* blocking_pool_; |
620 | 620 |
621 bool in_mus_ = false; | 621 bool in_mus_ = false; |
622 | 622 |
623 DISALLOW_COPY_AND_ASSIGN(Shell); | 623 DISALLOW_COPY_AND_ASSIGN(Shell); |
624 }; | 624 }; |
625 | 625 |
626 } // namespace ash | 626 } // namespace ash |
627 | 627 |
628 #endif // ASH_SHELL_H_ | 628 #endif // ASH_SHELL_H_ |
OLD | NEW |