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 #ifndef UI_GFX_COMPOSITOR_TEST_TEXTURE_H_ | 5 #ifndef UI_GFX_COMPOSITOR_TEST_TEST_TEXTURE_H_ |
6 #define UI_GFX_COMPOSITOR_TEST_TEXTURE_H_ | 6 #define UI_GFX_COMPOSITOR_TEST_TEST_TEXTURE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "ui/gfx/compositor/compositor.h" | 11 #include "ui/gfx/compositor/compositor.h" |
12 #include "ui/gfx/rect.h" | 12 #include "ui/gfx/rect.h" |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 | 15 |
16 // Texture implementation that TextCompositor creates. Doesn't actually draw | 16 // Texture implementation that TextCompositor creates. Doesn't actually draw |
(...skipping 23 matching lines...) Expand all Loading... |
40 // Number of live instances. | 40 // Number of live instances. |
41 static int live_count_; | 41 static int live_count_; |
42 | 42 |
43 gfx::Rect bounds_of_last_paint_; | 43 gfx::Rect bounds_of_last_paint_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(TestTexture); | 45 DISALLOW_COPY_AND_ASSIGN(TestTexture); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace ui | 48 } // namespace ui |
49 | 49 |
50 #endif // UI_GFX_COMPOSITOR_TEST_TEXTURE_H_ | 50 #endif // UI_GFX_COMPOSITOR_TEST_TEST_TEXTURE_H_ |
OLD | NEW |