Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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/wm/public/transient_window_client.h" | |
| 6 | |
| 7 namespace aura { | |
| 8 namespace client { | |
| 9 | |
| 10 namespace { | |
| 11 | |
| 12 TransientWindowClient* instance = nullptr; | |
| 13 | |
| 14 } // namespace | |
| 15 | |
| 16 void SetTransientWindowClient(TransientWindowClient* client) { | |
| 17 instance = client; | |
| 18 } | |
| 19 | |
| 20 TransientWindowClient* GetTransientWindowClient() { | |
| 21 return instance; | |
| 22 } | |
| 23 | |
| 24 } // namespace client | |
| 25 } // namespace aura | |
| OLD | NEW |