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

Unified Diff: services/ui/gles2/command_buffer_local_client.h

Issue 2194893002: services/ui: Revert CLs that broke Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/ui/gles2/command_buffer_local.cc ('k') | services/ui/gles2/command_buffer_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gles2/command_buffer_local_client.h
diff --git a/services/ui/gles2/command_buffer_local_client.h b/services/ui/gles2/command_buffer_local_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..3dc1ffac4234144ee674ce3f05ba344ff00ed09f
--- /dev/null
+++ b/services/ui/gles2/command_buffer_local_client.h
@@ -0,0 +1,31 @@
+// 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.
+
+#ifndef SERVICES_UI_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_
+#define SERVICES_UI_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_
+
+#include <stdint.h>
+
+#include "ui/gfx/swap_result.h"
+
+namespace base {
+class TimeDelta;
+class TimeTicks;
+}
+
+namespace ui {
+
+class CommandBufferLocalClient {
+ public:
+ virtual void UpdateVSyncParameters(const base::TimeTicks& timebase,
+ const base::TimeDelta& interval) = 0;
+ virtual void GpuCompletedSwapBuffers(gfx::SwapResult result) = 0;
+
+ protected:
+ virtual ~CommandBufferLocalClient() {}
+};
+
+} // namespace ui
+
+#endif // SERVICES_UI_GLES2_COMMAND_BUFFER_LOCAL_CLIENT_H_
« no previous file with comments | « services/ui/gles2/command_buffer_local.cc ('k') | services/ui/gles2/command_buffer_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698