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

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: Fix trace 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
« no previous file with comments | « ui/ozone/public/client_native_pixmap_factory_ozone.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..69999a3ba2b11be21c2ac04e85adf21b700e86c5
--- /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>
+CreateClientNativePixmapFactoryOzone() {
+ TRACE_EVENT1("ozone", "CreateClientNativePixmapFactoryOzone", "platform",
+ GetOzonePlatformName());
+ return PlatformObject<ClientNativePixmapFactory>::Create();
+}
+
+} // namespace ui
« no previous file with comments | « ui/ozone/public/client_native_pixmap_factory_ozone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698