Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1257)

Unified Diff: Source/core/rendering/RenderThemeChromiumLinux.h

Issue 738113003: Refactor RenderThemeChromiumDefault (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix android build Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698