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

Unified Diff: Source/core/layout/LayerScrollableArea.h

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/layout/LayerReflectionInfo.cpp ('k') | Source/core/layout/LayerScrollableArea.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayerScrollableArea.h
diff --git a/Source/core/layout/LayerScrollableArea.h b/Source/core/layout/LayerScrollableArea.h
index ed27e872c984acf551c46d0b929b4ce939a7a9ee..24d3f50a201002c1d4f3811194e2e5a956e2d2a4 100644
--- a/Source/core/layout/LayerScrollableArea.h
+++ b/Source/core/layout/LayerScrollableArea.h
@@ -44,10 +44,8 @@
#ifndef LayerScrollableArea_h
#define LayerScrollableArea_h
-
#include "core/layout/LayerFragment.h"
-#include "core/rendering/RenderBox.h"
-
+#include "core/layout/LayoutBox.h"
#include "platform/scroll/ScrollableArea.h"
namespace blink {
@@ -58,7 +56,7 @@ enum ResizerHitTestType {
};
class PlatformEvent;
-class RenderBox;
+class LayoutBox;
class Layer;
class LayoutScrollbarPart;
@@ -66,7 +64,7 @@ class LayerScrollableArea final : public ScrollableArea {
friend class Internals;
public:
- // FIXME: We should pass in the RenderBox but this opens a window
+ // FIXME: We should pass in the LayoutBox but this opens a window
// for crashers during Layer setup (see crbug.com/368062).
LayerScrollableArea(Layer&);
virtual ~LayerScrollableArea();
@@ -207,7 +205,7 @@ public:
IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const;
- RenderBox& box() const;
+ LayoutBox& box() const;
Layer* layer() const;
LayoutScrollbarPart* resizer() { return m_resizer; }
« no previous file with comments | « Source/core/layout/LayerReflectionInfo.cpp ('k') | Source/core/layout/LayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698