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

Unified Diff: Source/WebCore/rendering/RenderObject.h

Issue 13650009: Remove Dashboard support and supporting files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compiler error due to misspelling in code "Dashbard" Created 7 years, 9 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/WebCore/rendering/RenderListBox.cpp ('k') | Source/WebCore/rendering/RenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderObject.h
diff --git a/Source/WebCore/rendering/RenderObject.h b/Source/WebCore/rendering/RenderObject.h
index 2a9ab9433fad15eff8453548edb3b69ea4f0b0c6..30e768dcb392fdbbcb8f52565aad2c8b52905788 100644
--- a/Source/WebCore/rendering/RenderObject.h
+++ b/Source/WebCore/rendering/RenderObject.h
@@ -116,15 +116,11 @@ typedef unsigned MapCoordinatesFlags;
const int caretWidth = 1;
-#if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION)
+#if ENABLE(DRAGGABLE_REGION)
struct AnnotatedRegionValue {
bool operator==(const AnnotatedRegionValue& o) const
{
-#if ENABLE(DASHBOARD_SUPPORT)
- return type == o.type && bounds == o.bounds && clip == o.clip && label == o.label;
-#else // ENABLE(DRAGGABLE_REGION)
return draggable == o.draggable && bounds == o.bounds;
-#endif
}
bool operator!=(const AnnotatedRegionValue& o) const
{
@@ -132,13 +128,7 @@ struct AnnotatedRegionValue {
}
LayoutRect bounds;
-#if ENABLE(DASHBOARD_SUPPORT)
- String label;
- LayoutRect clip;
- int type;
-#else // ENABLE(DRAGGABLE_REGION)
bool draggable;
-#endif
};
#endif
@@ -722,7 +712,7 @@ public:
// repaint and do not need a relayout
virtual void updateFromElement() { }
-#if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION)
+#if ENABLE(DRAGGABLE_REGION)
virtual void addAnnotatedRegions(Vector<AnnotatedRegionValue>&);
void collectAnnotatedRegions(Vector<AnnotatedRegionValue>&);
#endif
« no previous file with comments | « Source/WebCore/rendering/RenderListBox.cpp ('k') | Source/WebCore/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698