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

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

Issue 922743002: Dispose Frame when detaching. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | 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 reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 bool m_layoutSizeFixedToFrameSize; 799 bool m_layoutSizeFixedToFrameSize;
800 800
801 Timer<FrameView> m_didScrollTimer; 801 Timer<FrameView> m_didScrollTimer;
802 802
803 Vector<IntRect> m_tickmarks; 803 Vector<IntRect> m_tickmarks;
804 804
805 float m_topControlsViewportAdjustment; 805 float m_topControlsViewportAdjustment;
806 806
807 bool m_needsUpdateWidgetPositions; 807 bool m_needsUpdateWidgetPositions;
808 808
809 #if ENABLE(OILPAN) && ENABLE(ASSERT) 809 #if ENABLE(ASSERT)
810 // Verified when finalizing. 810 // Verified when finalizing.
811 bool m_hasBeenDisposed; 811 bool m_hasBeenDisposed;
812 #endif 812 #endif
813 813
814 RefPtrWillBeMember<Scrollbar> m_horizontalScrollbar; 814 RefPtrWillBeMember<Scrollbar> m_horizontalScrollbar;
815 RefPtrWillBeMember<Scrollbar> m_verticalScrollbar; 815 RefPtrWillBeMember<Scrollbar> m_verticalScrollbar;
816 ScrollbarMode m_horizontalScrollbarMode; 816 ScrollbarMode m_horizontalScrollbarMode;
817 ScrollbarMode m_verticalScrollbarMode; 817 ScrollbarMode m_verticalScrollbarMode;
818 818
819 bool m_horizontalScrollbarLock; 819 bool m_horizontalScrollbarLock;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 static const unsigned visualPixelThreshold = 32 * 32; 860 static const unsigned visualPixelThreshold = 32 * 32;
861 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 861 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
862 setIsVisuallyNonEmpty(); 862 setIsVisuallyNonEmpty();
863 } 863 }
864 864
865 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 865 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
866 866
867 } // namespace blink 867 } // namespace blink
868 868
869 #endif // FrameView_h 869 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698