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

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

Issue 8536005: aura/cc: Fix accelerated content size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « content/browser/renderer_host/accelerated_surface_container_linux_cc.cc ('k') | ui/gfx/compositor/layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/compositor_cc.h
diff --git a/ui/gfx/compositor/compositor_cc.h b/ui/gfx/compositor/compositor_cc.h
index 5b5afe8c31e51878ad124c5c09cac9d404b1b764..ba21232cf29fcf1032deb808ef30befce1a7ecbe 100644
--- a/ui/gfx/compositor/compositor_cc.h
+++ b/ui/gfx/compositor/compositor_cc.h
@@ -67,10 +67,12 @@ class COMPOSITOR_EXPORT TextureCC : public Texture {
virtual void Update() = 0;
unsigned int texture_id() const { return texture_id_; }
bool flipped() const { return flipped_; }
+ const gfx::Size& size() const { return size_; }
protected:
unsigned int texture_id_;
bool flipped_;
+ gfx::Size size_;
DISALLOW_COPY_AND_ASSIGN(TextureCC);
};
« no previous file with comments | « content/browser/renderer_host/accelerated_surface_container_linux_cc.cc ('k') | ui/gfx/compositor/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698