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

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

Issue 1216573006: Remove unused isLayoutRoot method (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void setContentsSize(const IntSize&); 101 void setContentsSize(const IntSize&);
102 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; 102 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const;
103 103
104 void layout(); 104 void layout();
105 bool didFirstLayout() const; 105 bool didFirstLayout() const;
106 void scheduleRelayout(); 106 void scheduleRelayout();
107 void scheduleRelayoutOfSubtree(LayoutObject*); 107 void scheduleRelayoutOfSubtree(LayoutObject*);
108 bool layoutPending() const; 108 bool layoutPending() const;
109 bool isInPerformLayout() const; 109 bool isInPerformLayout() const;
110 110
111 bool isLayoutRoot(const LayoutObject&) const;
112 void clearLayoutSubtreeRoot(const LayoutObject&); 111 void clearLayoutSubtreeRoot(const LayoutObject&);
113 int layoutCount() const { return m_layoutCount; } 112 int layoutCount() const { return m_layoutCount; }
114 113
115 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total Objects, bool& isPartial); 114 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total Objects, bool& isPartial);
116 115
117 bool needsLayout() const; 116 bool needsLayout() const;
118 void setNeedsLayout(); 117 void setNeedsLayout();
119 118
120 void setNeedsUpdateWidgetPositions() { m_needsUpdateWidgetPositions = true; } 119 void setNeedsUpdateWidgetPositions() { m_needsUpdateWidgetPositions = true; }
121 120
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 static const unsigned visualPixelThreshold = 32 * 32; 866 static const unsigned visualPixelThreshold = 32 * 32;
868 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) 867 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold)
869 setIsVisuallyNonEmpty(); 868 setIsVisuallyNonEmpty();
870 } 869 }
871 870
872 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 871 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
873 872
874 } // namespace blink 873 } // namespace blink
875 874
876 #endif // FrameView_h 875 #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