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

Unified Diff: ui/gfx/compositor/layer.h

Issue 8307001: Enable accelerated compositing of web pages when using webkit compositor (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 9 years, 2 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 | « ui/gfx/compositor/compositor_gl.cc ('k') | ui/gfx/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/layer.h
diff --git a/ui/gfx/compositor/layer.h b/ui/gfx/compositor/layer.h
index d94d4e6feb5187af8458ac5a6b0500875654e04c..1e870763cb6644e7d978dc28414e0b28a961455d 100644
--- a/ui/gfx/compositor/layer.h
+++ b/ui/gfx/compositor/layer.h
@@ -12,8 +12,8 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebContentLayer.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebContentLayerClient.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebLayer.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebLayerClient.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/transform.h"
@@ -179,7 +179,7 @@ class COMPOSITOR_EXPORT Layer :
virtual void paintContents(WebKit::WebCanvas*, const WebKit::WebRect& clip);
#if defined(USE_WEBKIT_COMPOSITOR)
- WebKit::WebContentLayer web_layer() { return web_layer_; }
+ WebKit::WebLayer web_layer() { return web_layer_; }
#endif
private:
@@ -296,7 +296,8 @@ class COMPOSITOR_EXPORT Layer :
scoped_ptr<LayerAnimationManager> animator_;
#if defined(USE_WEBKIT_COMPOSITOR)
- WebKit::WebContentLayer web_layer_;
+ WebKit::WebLayer web_layer_;
+ bool web_layer_is_accelerated_;
#endif
DISALLOW_COPY_AND_ASSIGN(Layer);
« no previous file with comments | « ui/gfx/compositor/compositor_gl.cc ('k') | ui/gfx/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698