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

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

Issue 2738783003: Rename ChildrenWidgetSet to ChildrenSet (Closed)
Patch Set: Created 3 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 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 451
452 LayoutRect scrollIntoView(const LayoutRect& rectInContent, 452 LayoutRect scrollIntoView(const LayoutRect& rectInContent,
453 const ScrollAlignment& alignX, 453 const ScrollAlignment& alignX,
454 const ScrollAlignment& alignY, 454 const ScrollAlignment& alignY,
455 ScrollType = ProgrammaticScroll) override; 455 ScrollType = ProgrammaticScroll) override;
456 456
457 // The window that hosts the FrameView. The FrameView will communicate scrolls 457 // The window that hosts the FrameView. The FrameView will communicate scrolls
458 // and repaints to the host window in the window's coordinate space. 458 // and repaints to the host window in the window's coordinate space.
459 HostWindow* getHostWindow() const; 459 HostWindow* getHostWindow() const;
460 460
461 typedef HeapHashSet<Member<FrameViewBase>> ChildrenWidgetSet; 461 typedef HeapHashSet<Member<FrameViewBase>> ChildrenSet;
462 462
463 // Functions for child manipulation and inspection. 463 // Functions for child manipulation and inspection.
464 void setParent(FrameViewBase*) override; 464 void setParent(FrameViewBase*) override;
465 void removeChild(FrameViewBase*); 465 void removeChild(FrameViewBase*);
466 void addChild(FrameViewBase*); 466 void addChild(FrameViewBase*);
467 const ChildrenWidgetSet* children() const { return &m_children; } 467 const ChildrenSet* children() const { return &m_children; }
468 468
469 // If the scroll view does not use a native widget, then it will have 469 // If the scroll view does not use a native widget, then it will have
470 // cross-platform Scrollbars. These functions can be used to obtain those 470 // cross-platform Scrollbars. These functions can be used to obtain those
471 // scrollbars. 471 // scrollbars.
472 Scrollbar* horizontalScrollbar() const override { 472 Scrollbar* horizontalScrollbar() const override {
473 return m_scrollbarManager.horizontalScrollbar(); 473 return m_scrollbarManager.horizontalScrollbar();
474 } 474 }
475 Scrollbar* verticalScrollbar() const override { 475 Scrollbar* verticalScrollbar() const override {
476 return m_scrollbarManager.verticalScrollbar(); 476 return m_scrollbarManager.verticalScrollbar();
477 } 477 }
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 // Verified when finalizing. 1123 // Verified when finalizing.
1124 bool m_hasBeenDisposed = false; 1124 bool m_hasBeenDisposed = false;
1125 #endif 1125 #endif
1126 1126
1127 ScrollbarMode m_horizontalScrollbarMode; 1127 ScrollbarMode m_horizontalScrollbarMode;
1128 ScrollbarMode m_verticalScrollbarMode; 1128 ScrollbarMode m_verticalScrollbarMode;
1129 1129
1130 bool m_horizontalScrollbarLock; 1130 bool m_horizontalScrollbarLock;
1131 bool m_verticalScrollbarLock; 1131 bool m_verticalScrollbarLock;
1132 1132
1133 ChildrenWidgetSet m_children; 1133 ChildrenSet m_children;
1134 1134
1135 ScrollOffset m_pendingScrollDelta; 1135 ScrollOffset m_pendingScrollDelta;
1136 ScrollOffset m_scrollOffset; 1136 ScrollOffset m_scrollOffset;
1137 IntSize m_contentsSize; 1137 IntSize m_contentsSize;
1138 1138
1139 bool m_scrollbarsSuppressed; 1139 bool m_scrollbarsSuppressed;
1140 1140
1141 bool m_inUpdateScrollbars; 1141 bool m_inUpdateScrollbars;
1142 1142
1143 std::unique_ptr<LayoutAnalyzer> m_analyzer; 1143 std::unique_ptr<LayoutAnalyzer> m_analyzer;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 frameViewBase.isFrameView()); 1260 frameViewBase.isFrameView());
1261 DEFINE_TYPE_CASTS(FrameView, 1261 DEFINE_TYPE_CASTS(FrameView,
1262 ScrollableArea, 1262 ScrollableArea,
1263 scrollableArea, 1263 scrollableArea,
1264 scrollableArea->isFrameView(), 1264 scrollableArea->isFrameView(),
1265 scrollableArea.isFrameView()); 1265 scrollableArea.isFrameView());
1266 1266
1267 } // namespace blink 1267 } // namespace blink
1268 1268
1269 #endif // FrameView_h 1269 #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