Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: ui/aura/client/transient_window_client.cc

Issue 2453953003: Moves TransientWindowClient to ui/aura/client and adds observer (Closed)
Patch Set: merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/wm/public/transient_window_client.h" 5 #include "ui/aura/client/transient_window_client.h"
6 6
7 namespace aura { 7 namespace aura {
8 namespace client { 8 namespace client {
9 9
10 namespace { 10 namespace {
11 11
12 TransientWindowClient* instance = nullptr; 12 TransientWindowClient* instance = nullptr;
13 13
14 } // namespace 14 } // namespace
15 15
16 void SetTransientWindowClient(TransientWindowClient* client) { 16 void SetTransientWindowClient(TransientWindowClient* client) {
17 instance = client; 17 instance = client;
18 } 18 }
19 19
20 TransientWindowClient* GetTransientWindowClient() { 20 TransientWindowClient* GetTransientWindowClient() {
21 return instance; 21 return instance;
22 } 22 }
23 23
24 } // namespace client 24 } // namespace client
25 } // namespace aura 25 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/client/transient_window_client.h ('k') | ui/aura/client/transient_window_client_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698