Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_COMMON_SCOPED_ROOT_WINDOW_FOR_NEW_WINDOWS_H_ | |
| 6 #define ASH_COMMON_SCOPED_ROOT_WINDOW_FOR_NEW_WINDOWS_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
| 9 | |
| 10 namespace ash { | |
| 11 | |
| 12 // Allows a temporary override of the root window where new windows get created. | |
| 13 // An example usage is to specify the target root window when creating a new | |
| 14 // window by clicking on a shelf icon. | |
| 15 class ASH_EXPORT ScopedRootWindowForNewWindows { | |
|
msw
2016/08/01 21:36:15
q: Could this just be a typedef for base::AutoRese
| |
| 16 public: | |
| 17 virtual ~ScopedRootWindowForNewWindows() {} | |
| 18 }; | |
| 19 | |
| 20 } // namespace ash | |
| 21 | |
| 22 #endif // ASH_COMMON_SCOPED_ROOT_WINDOW_FOR_NEW_WINDOWS_H_ | |
| OLD | NEW |