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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2849383002: Remove FrameView::Root (Closed)
Patch Set: merge 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 bool IsParentVisible() const { 491 bool IsParentVisible() const {
492 return parent_visible_; 492 return parent_visible_;
493 } // Whether or not our parent is visible. 493 } // Whether or not our parent is visible.
494 bool IsVisible() const { 494 bool IsVisible() const {
495 return self_visible_ && parent_visible_; 495 return self_visible_ && parent_visible_;
496 } // Whether or not we are actually visible. 496 } // Whether or not we are actually visible.
497 void SetParentVisible(bool); 497 void SetParentVisible(bool);
498 void SetSelfVisible(bool v) { self_visible_ = v; } 498 void SetSelfVisible(bool v) { self_visible_ = v; }
499 void SetParent(FrameViewBase*) override; 499 void SetParent(FrameViewBase*) override;
500 FrameViewBase* Parent() const override { return parent_; } 500 FrameViewBase* Parent() const override { return parent_; }
501 FrameView* Root() const;
502 void RemoveChild(FrameViewBase*); 501 void RemoveChild(FrameViewBase*);
503 void AddChild(FrameViewBase*); 502 void AddChild(FrameViewBase*);
504 const ChildrenSet* Children() const { return &children_; } 503 const ChildrenSet* Children() const { return &children_; }
505 void RemovePlugin(PluginView*); 504 void RemovePlugin(PluginView*);
506 void AddPlugin(PluginView*); 505 void AddPlugin(PluginView*);
507 const PluginsSet* Plugins() const { return &plugins_; } 506 const PluginsSet* Plugins() const { return &plugins_; }
508 void RemoveScrollbar(Scrollbar*); 507 void RemoveScrollbar(Scrollbar*);
509 void AddScrollbar(Scrollbar*); 508 void AddScrollbar(Scrollbar*);
510 const ScrollbarsSet* Scrollbars() const { return &scrollbars_; } 509 const ScrollbarsSet* Scrollbars() const { return &scrollbars_; }
511 510
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 frameViewBase.IsFrameView()); 1274 frameViewBase.IsFrameView());
1276 DEFINE_TYPE_CASTS(FrameView, 1275 DEFINE_TYPE_CASTS(FrameView,
1277 ScrollableArea, 1276 ScrollableArea,
1278 scrollableArea, 1277 scrollableArea,
1279 scrollableArea->IsFrameView(), 1278 scrollableArea->IsFrameView(),
1280 scrollableArea.IsFrameView()); 1279 scrollableArea.IsFrameView());
1281 1280
1282 } // namespace blink 1281 } // namespace blink
1283 1282
1284 #endif // FrameView_h 1283 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698