window_stacking_client.cc 605 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2013 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. #include "ui/aura/client/window_stacking_client.h"
  5. namespace aura {
  6. namespace client {
  7. namespace {
  8. WindowStackingClient* g_window_stacking_client_instance = NULL;
  9. } // namespace
  10. void SetWindowStackingClient(WindowStackingClient* client) {
  11. g_window_stacking_client_instance = client;
  12. }
  13. WindowStackingClient* GetWindowStackingClient() {
  14. return g_window_stacking_client_instance;
  15. }
  16. } // namespace client
  17. } // namespace aura