зеркало из https://github.com/mozilla/pjs.git
imported patch addignoresuppressiontobuilder
This commit is contained in:
Родитель
5c5bab3e5b
Коммит
564d7fbeae
|
@ -74,6 +74,7 @@ nsDisplayListBuilder::nsDisplayListBuilder(nsIFrame* aReferenceFrame,
|
|||
mCurrentTableItem(nsnull),
|
||||
mBuildCaret(aBuildCaret),
|
||||
mEventDelivery(aIsForEvents),
|
||||
mIgnoreSuppression(PR_FALSE),
|
||||
mIsAtRootOfPseudoStackingContext(PR_FALSE),
|
||||
mSelectedFramesOnly(PR_FALSE),
|
||||
mAccurateVisibleRegions(PR_FALSE),
|
||||
|
|
|
@ -213,7 +213,15 @@ public:
|
|||
* Allows callers to selectively override the regular paint suppression checks,
|
||||
* so that methods like GetFrameForPoint work when painting is suppressed.
|
||||
*/
|
||||
void IgnorePaintSuppression() { mIsBackgroundOnly = PR_FALSE; }
|
||||
void IgnorePaintSuppression() {
|
||||
mIsBackgroundOnly = PR_FALSE;
|
||||
mIgnoreSuppression = PR_TRUE;
|
||||
}
|
||||
/**
|
||||
* @return PR_TRUE if this builder is set to ignore painting suppression in
|
||||
* all documents.
|
||||
*/
|
||||
PRBool IsIgnoringPaintSuppression() { return mIgnoreSuppression; }
|
||||
/**
|
||||
* Call this if we're doing normal painting to the window.
|
||||
*/
|
||||
|
@ -386,6 +394,7 @@ private:
|
|||
PRPackedBool mBuildCaret;
|
||||
PRPackedBool mEventDelivery;
|
||||
PRPackedBool mIsBackgroundOnly;
|
||||
PRPackedBool mIgnoreSuppression;
|
||||
PRPackedBool mIsAtRootOfPseudoStackingContext;
|
||||
PRPackedBool mSelectedFramesOnly;
|
||||
PRPackedBool mAccurateVisibleRegions;
|
||||
|
|
Загрузка…
Ссылка в новой задаче