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

Unified Diff: ui/ozone/public/client_native_pixmap_factory_ozone.cc

Issue 2705333006: Move client_native_pixmap_factory.h from ui/ozone/public to ui/gfx (Closed)
Patch Set: Add client_native_pixmap_factory_ozone.h Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698