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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2871453002: Delete widget tree (FrameView::parent_) (Closed)
Patch Set: Remove deferred state Created 3 years, 7 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
Index: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 32f6a9dfea394b49053edd465a881117538dcb5b..bf20d77593682db7ffc34321b19c5ba3740aad01 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -493,7 +493,11 @@ class CORE_EXPORT FrameView final
void SetParentVisible(bool) override;
void SetSelfVisible(bool v) { self_visible_ = v; }
void SetParent(FrameView*) override;
- FrameView* Parent() const override { return parent_; }
+ FrameView* Parent() const override;
+ void SetFrameOrPluginState(FrameOrPluginState) override;
+ FrameOrPluginState GetFrameOrPluginState() const override {
+ return frame_view_state_;
+ }
void RemoveChild(FrameOrPlugin*);
using PluginSet = HeapHashSet<Member<PluginView>>;
const PluginSet& Plugins() const { return plugins_; }
@@ -1077,6 +1081,7 @@ class CORE_EXPORT FrameView final
IntRect frame_rect_;
Member<FrameView> parent_;
+ FrameOrPluginState frame_view_state_;
bool self_visible_;
bool parent_visible_;
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameOrPlugin.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698