| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CC_RESOURCES_UI_RESOURCE_H_ |
| 6 #define CC_RESOURCES_UI_RESOURCE_H_ |
| 7 |
| 8 #include "base/memory/ref_counted.h" |
| 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/resources/ui_resource_bitmap.h" |
| 11 #include "cc/resources/ui_resource_client.h" |
| 12 #include "ui/gfx/size.h" |
| 13 |
| 14 namespace cc { |
| 15 |
| 16 class CC_EXPORT UIResource { |
| 17 public: |
| 18 virtual UIResourceId id() = 0; |
| 19 virtual gfx::Size GetSize() = 0; |
| 20 }; |
| 21 |
| 22 } // namespace cc |
| 23 |
| 24 #endif // CC_RESOURCES_UI_RESOURCE_H_ |
| OLD | NEW |