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

Unified Diff: ui/gl/gl_image_mock.cc

Issue 14456004: GPU client side changes for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Incorporate code reviews Created 7 years, 7 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/gl/gl_image_mock.cc
diff --git a/ui/base/touch/touch_device_android.cc b/ui/gl/gl_image_mock.cc
similarity index 50%
copy from ui/base/touch/touch_device_android.cc
copy to ui/gl/gl_image_mock.cc
index 39e34c24765363d439e175cad62cdc98ef257ed8..06d9f2687b19cd3cb442ae4aa7c8eb07b113be20 100644
--- a/ui/base/touch/touch_device_android.cc
+++ b/ui/gl/gl_image_mock.cc
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/base/touch/touch_device.h"
+#include "ui/gl/gl_image_mock.h"
-namespace ui {
+namespace gfx {
-bool IsTouchDevicePresent() {
- return true;
+GLImageMock::GLImageMock(gfx::GpuMemoryBufferHandle, gfx::Size size) {
}
-} // namespace ui
+GLImageMock::~GLImageMock() {
+}
+
+} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698