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

Side by Side Diff: ash/common/scoped_root_window_for_new_windows.h

Issue 2194353002: mash: Migrate ScopedTargetRootWindow to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: similarity 40 Created 4 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698