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

Unified Diff: trunk/src/content/public/browser/android/compositor.h

Issue 23740010: Revert 223162 "Update the nine patch layer to use UI resources" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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: trunk/src/content/public/browser/android/compositor.h
===================================================================
--- trunk/src/content/public/browser/android/compositor.h (revision 223178)
+++ trunk/src/content/public/browser/android/compositor.h (working copy)
@@ -6,8 +6,6 @@
#define CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_H_
#include "base/callback.h"
-#include "cc/resources/ui_resource_bitmap.h"
-#include "cc/resources/ui_resource_client.h"
#include "content/common/content_export.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/rect.h"
@@ -86,13 +84,6 @@
// Composite immediately. Used in single-threaded mode.
virtual void Composite() = 0;
- // Generates a UIResource and returns a UIResourceId. May return 0.
- virtual cc::UIResourceId GenerateUIResource(
- const cc::UIResourceBitmap& bitmap) = 0;
-
- // Deletes a UIResource.
- virtual void DeleteUIResource(cc::UIResourceId resource_id) = 0;
-
// Generates an OpenGL texture and returns a texture handle. May return 0
// if the current context is lost.
virtual WebKit::WebGLId GenerateTexture(gfx::JavaBitmap& bitmap) = 0;

Powered by Google App Engine
This is Rietveld 408576698