mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
When HTML area resizes, show arrow cursor in case it can take a while (like page with big tables).
This commit is contained in:
parent
a153945b9c
commit
5de4188125
@ -110,6 +110,7 @@ extern "C" {
|
||||
|
||||
#include <UDrawingState.h>
|
||||
#include <UMemoryMgr.h>
|
||||
#include <UCursor.h>
|
||||
#include <Sound.h>
|
||||
|
||||
const Int16 FocusBox_Size = 3;
|
||||
@ -1874,15 +1875,14 @@ void CHTMLView::AdaptToSuperFrameSize(
|
||||
Int32 inSurrHeightDelta,
|
||||
Boolean inRefresh)
|
||||
{
|
||||
UCursor::SetWatch();
|
||||
|
||||
LView::AdaptToSuperFrameSize(inSurrWidthDelta, inSurrHeightDelta, inRefresh);
|
||||
|
||||
if (IsRootHTMLView())
|
||||
{
|
||||
if ((mContext != NULL) && ((inSurrWidthDelta != 0) || (inSurrHeightDelta != 0)) && (!mContext->IsViewSourceContext()))
|
||||
{
|
||||
#if 0
|
||||
mContext->Repaginate();
|
||||
#else
|
||||
SDimension16 theFrameSize;
|
||||
Rect theFrame;
|
||||
int32 leftMargin;
|
||||
@ -1921,9 +1921,10 @@ void CHTMLView::AdaptToSuperFrameSize(
|
||||
|
||||
LO_RelayoutOnResize ( *mContext, theFrameSize.width, theFrameSize.height, leftMargin, topMargin );
|
||||
AdjustScrollBars();
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
UCursor::SetArrow();
|
||||
}
|
||||
|
||||
void CHTMLView::ResizeFrameBy(
|
||||
|
Loading…
Reference in New Issue
Block a user