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

Unified Diff: ui/aura/client/window_stacking_client.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 | « ui/aura/client/visibility_client.cc ('k') | ui/aura/client/window_stacking_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/window_stacking_client.h
diff --git a/ui/aura/client/window_stacking_client.h b/ui/aura/client/window_stacking_client.h
deleted file mode 100644
index 848260397cb59ef6e1933709a4b7a7026fb9e7db..0000000000000000000000000000000000000000
--- a/ui/aura/client/window_stacking_client.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 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 UI_AURA_CLIENT_WINDOW_STACKING_CLIENT_H_
-#define UI_AURA_CLIENT_WINDOW_STACKING_CLIENT_H_
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/aura/aura_export.h"
-#include "ui/aura/window.h"
-
-namespace aura {
-namespace client {
-
-class AURA_EXPORT WindowStackingClient {
- public:
- // Invoked from the various Window stacking functions. Allows the
- // WindowStackingClient to alter the source, target and/or direction to stack.
- // Returns true if stacking should continue; false if the stacking should not
- // happen.
- virtual bool AdjustStacking(Window** child,
- Window** target,
- Window::StackDirection* direction) = 0;
-
- protected:
- virtual ~WindowStackingClient() {}
-};
-
-// Sets/gets the WindowStackingClient. This does *not* take ownership of
-// |client|. It is assumed the caller will invoke SetWindowStackingClient(NULL)
-// before deleting |client|.
-AURA_EXPORT void SetWindowStackingClient(WindowStackingClient* client);
-AURA_EXPORT WindowStackingClient* GetWindowStackingClient();
-
-} // namespace client
-} // namespace aura
-
-#endif // UI_AURA_CLIENT_WINDOW_STACKING_CLIENT_H_
« no previous file with comments | « ui/aura/client/visibility_client.cc ('k') | ui/aura/client/window_stacking_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698