Chromium Code Reviews| Index: ui/ozone/public/client_native_pixmap_factory_ozone.cc |
| diff --git a/ui/ozone/public/client_native_pixmap_factory_ozone.cc b/ui/ozone/public/client_native_pixmap_factory_ozone.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a0bc2146da400851121eb7803e10df6a4fdab975 |
| --- /dev/null |
| +++ b/ui/ozone/public/client_native_pixmap_factory_ozone.cc |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "ui/ozone/public/client_native_pixmap_factory_ozone.h" |
| + |
| +#include "base/trace_event/trace_event.h" |
| +#include "ui/ozone/platform_object.h" |
| +#include "ui/ozone/platform_selection.h" |
| + |
| +namespace ui { |
| + |
| +std::unique_ptr<ClientNativePixmapFactory> |
|
rjkroege
2017/03/21 16:41:08
ah! Ignore my previous concern about where the tra
Julien Isorce
2017/03/21 17:39:46
Thx for the review. I noticed that I should rename
|
| +CreateClientNativePixmapFactoryOzone() { |
| + TRACE_EVENT1("ozone", "ClientNativePixmapFactory::Create", "platform", |
| + GetOzonePlatformName()); |
| + return PlatformObject<ClientNativePixmapFactory>::Create(); |
| +} |
| + |
| +} // namespace ui |