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

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

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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: content/public/browser/android/compositor.h
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
index 1a96ee6ee9078330a0bb3e36c3582c6d0550f2d5..6ce49e98b8794d7f71471b484dc00f0823ae0d54 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -17,6 +17,7 @@ class SkBitmap;
namespace cc {
class Layer;
+class LayerSettings;
}
namespace gfx {
@@ -45,6 +46,9 @@ class CONTENT_EXPORT Compositor {
static Compositor* Create(CompositorClient* client,
gfx::NativeWindow root_window);
+ static const cc::LayerSettings& LayerSettings();
+ static void SetLayerSettings(const cc::LayerSettings& settings);
+
// Attaches the layer tree.
virtual void SetRootLayer(scoped_refptr<cc::Layer> root) = 0;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698