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

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

Issue 911083002: Carry out a resize even if no layout has been performed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Made needsLayout() true when forcing zero-height and added unit test Created 5 years, 10 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') | Source/web/tests/WebFrameTest.cpp » ('J')
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation; } 126 bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation; }
127 void setNeedsFullPaintInvalidation() { m_doFullPaintInvalidation = true; } 127 void setNeedsFullPaintInvalidation() { m_doFullPaintInvalidation = true; }
128 128
129 void updateAcceleratedCompositingSettings(); 129 void updateAcceleratedCompositingSettings();
130 130
131 void recalcOverflowAfterStyleChange(); 131 void recalcOverflowAfterStyleChange();
132 132
133 bool isEnclosedInCompositingLayer() const; 133 bool isEnclosedInCompositingLayer() const;
134 134
135 void didChangeForceLayoutHeightMode();
aelias_OOO_until_Jul13 2015/02/12 19:49:17 Please rename this to didChangeViewportDescription
gsennton 2015/02/13 19:11:15 This is no longer tied to the more general setting
136
135 void resetScrollbars(); 137 void resetScrollbars();
136 void prepareForDetach(); 138 void prepareForDetach();
137 void detachCustomScrollbars(); 139 void detachCustomScrollbars();
138 void recalculateCustomScrollbarStyle(); 140 void recalculateCustomScrollbarStyle();
139 void invalidateAllCustomScrollbarsOnActiveChanged(); 141 void invalidateAllCustomScrollbarsOnActiveChanged();
140 virtual void recalculateScrollbarOverlayStyle(); 142 virtual void recalculateScrollbarOverlayStyle();
141 143
142 void clear(); 144 void clear();
143 145
144 bool isTransparent() const; 146 bool isTransparent() const;
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 } 879 }
878 880
879 private: 881 private:
880 RawPtrWillBeMember<FrameView> m_view; 882 RawPtrWillBeMember<FrameView> m_view;
881 bool m_originalValue; 883 bool m_originalValue;
882 }; 884 };
883 885
884 } // namespace blink 886 } // namespace blink
885 887
886 #endif // FrameView_h 888 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | Source/web/tests/WebFrameTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698