Home | History | Annotate | Download | only in client
      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 
      5 #include "ui/aura/client/window_stacking_client.h"
      6 
      7 namespace aura {
      8 namespace client {
      9 
     10 namespace {
     11 
     12 WindowStackingClient* instance = NULL;
     13 
     14 }  // namespace
     15 
     16 void SetWindowStackingClient(WindowStackingClient* client) {
     17   delete instance;
     18   instance = client;
     19 }
     20 
     21 AURA_EXPORT WindowStackingClient* GetWindowStackingClient() {
     22   return instance;
     23 }
     24 
     25 }  // namespace client
     26 }  // namespace aura
     27