Chromium Code Reviews| Index: cc/resources/ui_resource.h |
| diff --git a/cc/resources/ui_resource.h b/cc/resources/ui_resource.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5aaf40e7bd53fe0f7ec235dde9d9fc83cded8cc5 |
| --- /dev/null |
| +++ b/cc/resources/ui_resource.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CC_RESOURCES_UI_RESOURCE_H_ |
| +#define CC_RESOURCES_UI_RESOURCE_H_ |
| + |
| +#include "base/memory/ref_counted.h" |
| +#include "cc/base/cc_export.h" |
| +#include "cc/resources/ui_resource_bitmap.h" |
|
danakj
2013/08/27 15:42:48
This is a lot of headers for one pure virtual func
powei
2013/08/27 22:39:28
Done. Removed.
|
| +#include "cc/resources/ui_resource_client.h" |
| +#include "ui/gfx/size.h" |
| + |
| +namespace cc { |
| + |
| +class CC_EXPORT UIResource { |
| + public: |
| + virtual UIResourceId id() = 0; |
| + virtual ~UIResource() {} |
| +}; |
| + |
| +} // namespace cc |
| + |
| +#endif // CC_RESOURCES_UI_RESOURCE_H_ |