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

Side by Side Diff: ui/aura/window_port.cc

Issue 2446893005: Adds a porting layer so aura can be made to work with mus (Closed)
Patch Set: cleanup 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
(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
OLDNEW
« ui/aura/window_port.h ('K') | « ui/aura/window_port.h ('k') | ui/aura/window_port_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698