summaryrefslogtreecommitdiffstats
path: root/chromium/ui/wm/public/transient_window_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/wm/public/transient_window_client.cc')
-rw-r--r--chromium/ui/wm/public/transient_window_client.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/ui/wm/public/transient_window_client.cc b/chromium/ui/wm/public/transient_window_client.cc
new file mode 100644
index 00000000000..aab8e518c5f
--- /dev/null
+++ b/chromium/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