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

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

Issue 149653004: Revert 248827 "android: Migrate old content readback to use asyn..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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 | « trunk/src/content/public/browser/android/compositor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/public/browser/android/content_view_core.h
===================================================================
--- trunk/src/content/public/browser/android/content_view_core.h (revision 248975)
+++ trunk/src/content/public/browser/android/content_view_core.h (working copy)
@@ -12,8 +12,6 @@
#include "content/common/content_export.h"
#include "content/public/browser/navigation_controller.h"
-class SkBitmap;
-
namespace cc {
class Layer;
}
@@ -50,15 +48,9 @@
virtual void LoadUrl(NavigationController::LoadURLParams& params) = 0;
virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) = 0;
virtual void ShowPastePopup(int x, int y) = 0;
-
- // Request a scaled content readback. The result is passed through the
- // callback. The boolean parameter indicates whether the readback was a
- // success or not. The content is passed through the SkBitmap parameter.
- // |out_size| is returned with the size of the content.
- virtual void GetScaledContentBitmap(
+ virtual unsigned int GetScaledContentTexture(
float scale,
- gfx::Size* out_size,
- const base::Callback<void(bool, const SkBitmap&)>& result_callback) = 0;
+ gfx::Size* out_size) = 0;
virtual float GetDpiScale() const = 0;
virtual void RequestContentClipping(const gfx::Rect& clipping,
const gfx::Size& content_size) = 0;
« no previous file with comments | « trunk/src/content/public/browser/android/compositor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698