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

Unified Diff: views/view_unittest.cc

Issue 7845033: Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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: views/view_unittest.cc
===================================================================
--- views/view_unittest.cc (revision 100773)
+++ views/view_unittest.cc (working copy)
@@ -2345,16 +2345,15 @@
class TestCompositor : public ui::Compositor {
public:
- TestCompositor() : Compositor(gfx::Size(100, 100)) {}
+ TestCompositor() : Compositor(NULL, gfx::Size(100, 100)) {}
// ui::Compositor:
virtual ui::Texture* CreateTexture() OVERRIDE {
return new TestTexture();
}
- virtual void NotifyStart() OVERRIDE {}
- virtual void NotifyEnd() OVERRIDE {}
+ virtual void OnNotifyStart() OVERRIDE {}
+ virtual void OnNotifyEnd() OVERRIDE {}
virtual void Blur(const gfx::Rect& bounds) OVERRIDE {}
- virtual void SchedulePaint() OVERRIDE {}
protected:
virtual void OnWidgetSizeChanged() OVERRIDE {}
« views/view.cc ('K') | « views/view.cc ('k') | views/widget/native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698