Chromium Code Reviews| Index: Source/core/rendering/RenderThemeChromiumLinux.h |
| diff --git a/public/platform/WebImageLayer.h b/Source/core/rendering/RenderThemeChromiumLinux.h |
| similarity index 77% |
| copy from public/platform/WebImageLayer.h |
| copy to Source/core/rendering/RenderThemeChromiumLinux.h |
| index c396763ba55bd6f8c8097fd5714acf8d9b9518b8..ab1c412c810945755242f68d078eefa93578ccb4 100644 |
| --- a/public/platform/WebImageLayer.h |
| +++ b/Source/core/rendering/RenderThemeChromiumLinux.h |
| @@ -1,5 +1,5 @@ |
| /* |
|
tkent
2014/11/20 01:53:26
Please use Chromium-style header.
http://www.chrom
|
| - * Copyright (C) 2012 Google Inc. All rights reserved. |
| + * Copyright (C) 2014 Samsung Electronics. All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions |
| @@ -23,23 +23,19 @@ |
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -#ifndef WebImageLayer_h |
| -#define WebImageLayer_h |
| +#ifndef RenderThemeChromiumLinux_h |
| +#define RenderThemeChromiumLinux_h |
| -#include "WebCommon.h" |
| -#include "WebLayer.h" |
| -#include "third_party/skia/include/core/SkBitmap.h" |
| +#include "core/rendering/RenderThemeChromiumDefault.h" |
| namespace blink { |
| -class WebImageLayer { |
| +class RenderThemeChromiumLinux : public RenderThemeChromiumDefault { |
| public: |
| - virtual ~WebImageLayer() { } |
| - |
| - virtual WebLayer* layer() = 0; |
| - virtual void setImageBitmap(const SkBitmap&) = 0; |
| + static PassRefPtr<RenderTheme> create(); |
| + virtual String extraDefaultStyleSheet() override; |
| }; |
| } // namespace blink |
| -#endif // WebImageLayer_h |
| +#endif // RenderThemeChromiumLinux_h |