| // Copyright 2014 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. | |
| #include "ui/wm/public/transient_window_client.h" | |
| namespace aura { | |
| namespace client { | |
| namespace { | |
| TransientWindowClient* instance = NULL; | |
| } // namespace | |
| void SetTransientWindowClient(TransientWindowClient* client) { | |
| instance = client; | |
| } | |
| TransientWindowClient* GetTransientWindowClient() { | |
| return instance; | |
| } | |
| } // namespace client | |
| } // namespace aura |