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

Unified Diff: Source/core/svg/SVGPoint.h

Issue 18098007: Get rid of SVGPoint special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months 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
« no previous file with comments | « Source/core/svg/SVGPathUtilities.cpp ('k') | Source/core/svg/SVGPointList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPoint.h
diff --git a/Source/core/page/AdjustViewSizeOrNot.h b/Source/core/svg/SVGPoint.h
similarity index 85%
copy from Source/core/page/AdjustViewSizeOrNot.h
copy to Source/core/svg/SVGPoint.h
index 0137ad9102cf7709417d465af54ef3dd6645023f..78f91bb8bad65c40de855c3d23cd92edc72883cd 100644
--- a/Source/core/page/AdjustViewSizeOrNot.h
+++ b/Source/core/svg/SVGPoint.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2013 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,16 +23,15 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AdjustViewSizeOrNot_h
-#define AdjustViewSizeOrNot_h
+#ifndef SVGPoint_h
+#define SVGPoint_h
+
+#include "core/platform/graphics/FloatRect.h"
namespace WebCore {
-enum AdjustViewSizeOrNot {
- DoNotAdjustViewSize,
- AdjustViewSize
-};
+typedef FloatPoint SVGPoint;
} // namespace WebCore
-#endif // AdjustViewSizeOrNot_h
+#endif // SVGPoint_h
« no previous file with comments | « Source/core/svg/SVGPathUtilities.cpp ('k') | Source/core/svg/SVGPointList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698