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

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

Issue 527073002: Extract method: CreateDelegatedLayerForFrameProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: content/public/browser/android/content_view_core.h
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h
index 550757102a779c66a25985839e6e67e277009697..6ae44941338f8a6d10ae391af9afbf0cec699e76 100644
--- a/content/public/browser/android/content_view_core.h
+++ b/content/public/browser/android/content_view_core.h
@@ -17,6 +17,7 @@
class SkBitmap;
namespace cc {
+class DelegatedRendererLayer;
class Layer;
}
@@ -59,6 +60,8 @@ class CONTENT_EXPORT ContentViewCore {
SkColorType color_type,
gfx::Rect src_rect,
const base::Callback<void(bool, const SkBitmap&)>& result_callback) = 0;
+ virtual scoped_refptr<cc::DelegatedRendererLayer>
+ CreateDelegatedLayerForFrameProvider() = 0;
virtual float GetDpiScale() const = 0;
virtual void PauseVideo() = 0;
virtual void PauseOrResumeGeolocation(bool should_pause) = 0;

Powered by Google App Engine
This is Rietveld 408576698