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

Unified Diff: sky/engine/core/frame/FrameView.h

Issue 685593005: Remove concept of child Widgets. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/FrameView.h
diff --git a/sky/engine/core/frame/FrameView.h b/sky/engine/core/frame/FrameView.h
index 6cef375c85304d992cdcff57142aee25fe00501c..ecb10d4fad169956be6baa70cf5603410918c40b 100644
--- a/sky/engine/core/frame/FrameView.h
+++ b/sky/engine/core/frame/FrameView.h
@@ -26,11 +26,9 @@
#define FrameView_h
#include "core/rendering/PaintPhase.h"
-#include "platform/FrameWidget.h"
#include "platform/HostWindow.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/Widget.h"
-#include "platform/Widget.h"
#include "platform/geometry/LayoutRect.h"
#include "platform/graphics/Color.h"
#include "platform/scroll/ScrollableArea.h"
@@ -56,7 +54,7 @@ class RenderView;
typedef unsigned long long DOMTimeStamp;
-class FrameView final : public FrameWidget {
+class FrameView final : public Widget {
public:
friend class RenderView;
@@ -204,9 +202,6 @@ public:
void removeResizerArea(RenderBox&);
const ResizerAreaSet* resizerAreas() const { return m_resizerAreas.get(); }
- void addChild(PassRefPtr<Widget>);
- void removeChild(Widget*) final;
-
// This function exists for ports that need to handle wheel events manually.
// On Mac WebKit1 the underlying NSScrollView just does the scrolling, but on most other platforms
// we need this function in order to do the scroll ourselves.
@@ -278,7 +273,6 @@ private:
void reset();
void init();
- virtual void frameRectsChanged() override;
virtual bool isFrameView() const override { return true; }
bool contentsInCompositedLayer() const;
@@ -331,7 +325,6 @@ private:
LayoutSize m_size;
RefPtr<LocalFrame> m_frame;
- HashSet<RefPtr<Widget> > m_children;
bool m_doFullPaintInvalidation;
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698