diff options
Diffstat (limited to 'ui/wm/public/transient_window_client.cc')
-rw-r--r-- | ui/wm/public/transient_window_client.cc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ui/wm/public/transient_window_client.cc b/ui/wm/public/transient_window_client.cc new file mode 100644 index 0000000..aab8e51 --- /dev/null +++ b/ui/wm/public/transient_window_client.cc @@ -0,0 +1,25 @@ +// 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 |