OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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/aura/window_port.h" | |
6 | |
7 #include "ui/aura/window.h" | |
8 | |
9 namespace aura { | |
10 | |
11 // static | |
12 WindowPort* WindowPort::Get(Window* window) { | |
13 return window ? window->port_ : nullptr; | |
14 } | |
15 | |
16 // static | |
17 base::ObserverList<WindowObserver, true>* WindowPort::GetObservers( | |
18 Window* window) { | |
19 return &(window->observers_); | |
20 } | |
21 | |
22 } // namespace aura | |
OLD | NEW |