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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_factory_ozone.cc

Issue 2830933006: Obsolete the ozone code path in ui/views/ (Closed)
Patch Set: Created 3 years, 8 months 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 2013 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/views/widget/desktop_aura/desktop_factory_ozone.h"
6
7 #include "base/logging.h"
8
9 namespace views {
10
11 // static
12 DesktopFactoryOzone* DesktopFactoryOzone::impl_ = NULL;
13
14 DesktopFactoryOzone::DesktopFactoryOzone() {
15 }
16
17 DesktopFactoryOzone::~DesktopFactoryOzone() {
18 }
19
20 DesktopFactoryOzone* DesktopFactoryOzone::GetInstance() {
21 CHECK(impl_) << "DesktopFactoryOzone accessed before constructed";
22 return impl_;
23 }
24
25 void DesktopFactoryOzone::SetInstance(DesktopFactoryOzone* impl) {
26 impl_ = impl;
27 }
28
29 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_factory_ozone.h ('k') | ui/views/widget/desktop_aura/desktop_screen_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698