| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/gfx/compositor/test_compositor.h" | 5 #include "ui/gfx/compositor/test/test_compositor.h" |
| 6 | 6 |
| 7 #include "ui/gfx/compositor/test_texture.h" | 7 #include "ui/gfx/compositor/test/test_texture.h" |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| 11 class TestCompositorDelegate : public ui::CompositorDelegate { | 11 class TestCompositorDelegate : public ui::CompositorDelegate { |
| 12 public: | 12 public: |
| 13 TestCompositorDelegate() {} | 13 TestCompositorDelegate() {} |
| 14 virtual ~TestCompositorDelegate() {} | 14 virtual ~TestCompositorDelegate() {} |
| 15 | 15 |
| 16 virtual void ScheduleDraw() OVERRIDE {} | 16 virtual void ScheduleDraw() OVERRIDE {} |
| 17 | 17 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 } | 53 } |
| 54 | 54 |
| 55 ui::Compositor* TestCompositor::Create(ui::CompositorDelegate* owner) { | 55 ui::Compositor* TestCompositor::Create(ui::CompositorDelegate* owner) { |
| 56 return new ui::TestCompositor(owner); | 56 return new ui::TestCompositor(owner); |
| 57 } | 57 } |
| 58 | 58 |
| 59 void TestCompositor::OnWidgetSizeChanged() { | 59 void TestCompositor::OnWidgetSizeChanged() { |
| 60 } | 60 } |
| 61 | 61 |
| 62 } // namespace ui | 62 } // namespace ui |
| OLD | NEW |