Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ozone / ui / gfx / ozone_display.cc
1 // Copyright 2013 Intel Corporation. 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 "ozone/ui/gfx/ozone_display.h"
6
7 #include "base/logging.h"
8
9 namespace gfx {
10
11 // static
12 OzoneDisplay* OzoneDisplay::instance_ = NULL;
13
14 OzoneDisplay::OzoneDisplay() {
15 }
16
17 OzoneDisplay::~OzoneDisplay() {
18 }
19
20 OzoneDisplay* OzoneDisplay::GetInstance() {
21   CHECK(instance_) << "No OzoneDisplay implementation set.";
22   return instance_;
23 }
24
25 void OzoneDisplay::SetInstance(OzoneDisplay* instance) {
26   CHECK(!instance_) << "Replacing set OzoneDisplay implementation.";
27   instance_ = instance;
28 }
29
30 void OzoneDisplay::LookAheadOutputGeometry() {
31 }
32
33 }  // namespace gfx