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

Unified Diff: ui/ozone/public/swap_completion_callback.h

Issue 2190353003: Delete old Ozone surface creation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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/surface_ozone_egl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/swap_completion_callback.h
diff --git a/ui/ozone/public/swap_completion_callback.h b/ui/ozone/public/swap_completion_callback.h
new file mode 100644
index 0000000000000000000000000000000000000000..8dfc5830b1f6570ac3aa9b9dac37efd097777938
--- /dev/null
+++ b/ui/ozone/public/swap_completion_callback.h
@@ -0,0 +1,17 @@
+// Copyright 2016 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.
+
+#ifndef UI_OZONE_PUBLIC_SWAP_COMPLETION_CALLBACK_H_
+#define UI_OZONE_PUBLIC_SWAP_COMPLETION_CALLBACK_H_
+
+#include "base/callback.h"
+#include "ui/gfx/swap_result.h"
+
+namespace ui {
+
+using SwapCompletionCallback = base::Callback<void(gfx::SwapResult)>;
+
+} // namespace ui
+
+#endif // UI_OZONE_PUBLIC_SWAP_COMPLETION_CALLBACK_H_
« no previous file with comments | « ui/ozone/public/surface_ozone_egl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698