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

Unified Diff: ash/scoped_target_root_window.h

Issue 2194353002: mash: Migrate ScopedTargetRootWindow to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: non-virtual 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/scoped_target_root_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/scoped_target_root_window.h
diff --git a/ash/scoped_target_root_window.h b/ash/scoped_target_root_window.h
deleted file mode 100644
index b732e40280766f6edefe2022d9a20de3abab3b29..0000000000000000000000000000000000000000
--- a/ash/scoped_target_root_window.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SCOPED_TARGET_ROOT_WINDOW_H_
-#define ASH_SCOPED_TARGET_ROOT_WINDOW_H_
-
-#include "ash/ash_export.h"
-#include "base/macros.h"
-
-namespace aura {
-class Window;
-}
-
-namespace ash {
-
-// Constructing a ScopedTargetRootWindow allows temporarily
-// switching a target root window so that a new window gets created
-// in the same window where a user interaction happened.
-// An example usage is to specify the target root window when creating
-// a new window using launcher's icon.
-class ASH_EXPORT ScopedTargetRootWindow {
- public:
- explicit ScopedTargetRootWindow(aura::Window* root_window);
- ~ScopedTargetRootWindow();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ScopedTargetRootWindow);
-};
-
-} // namespace ash
-
-#endif // ASH_SCOPED_TARGET_ROOT_WINDOW_H_
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/scoped_target_root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698