Bug 1048752. Part 36: Remove ancient horizontal rules. r=tn

--HG--
extra : rebase_source : 7537ad3060b7703565d2a259109fae96e238e0a4
This commit is contained in:
Robert O'Callahan 2014-08-06 17:19:31 +12:00
Родитель 754d094377
Коммит 98d88074ed
1 изменённых файлов: 0 добавлений и 20 удалений

Просмотреть файл

@ -113,8 +113,6 @@ IsBidiUI()
return Preferences::GetBool("bidi.browser.ui");
}
//-----------------------------------------------------------------------------
nsCaret::nsCaret()
: mOverrideOffset(0)
, mIsBlinkOn(false)
@ -125,13 +123,11 @@ nsCaret::nsCaret()
{
}
//-----------------------------------------------------------------------------
nsCaret::~nsCaret()
{
StopBlinking();
}
//-----------------------------------------------------------------------------
nsresult nsCaret::Init(nsIPresShell *inPresShell)
{
NS_ENSURE_ARG(inPresShell);
@ -203,7 +199,6 @@ nsCaret::ComputeMetrics(nsIFrame* aFrame, int32_t aOffset, nscoord aCaretHeight)
return result;
}
//-----------------------------------------------------------------------------
void nsCaret::Terminate()
{
// this doesn't erase the caret if it's drawn. Should it? We might not have
@ -223,17 +218,14 @@ void nsCaret::Terminate()
mOverrideContent = nullptr;
}
//-----------------------------------------------------------------------------
NS_IMPL_ISUPPORTS(nsCaret, nsISelectionListener)
//-----------------------------------------------------------------------------
nsISelection* nsCaret::GetSelection()
{
nsCOMPtr<nsISelection> sel(do_QueryReferent(mDomSelectionWeak));
return sel;
}
//-----------------------------------------------------------------------------
void nsCaret::SetSelection(nsISelection *aDOMSel)
{
MOZ_ASSERT(aDOMSel);
@ -242,8 +234,6 @@ void nsCaret::SetSelection(nsISelection *aDOMSel)
SchedulePaint();
}
//-----------------------------------------------------------------------------
void nsCaret::SetVisible(bool inMakeVisible)
{
mVisible = inMakeVisible;
@ -252,8 +242,6 @@ void nsCaret::SetVisible(bool inMakeVisible)
SchedulePaint();
}
//-----------------------------------------------------------------------------
bool nsCaret::IsVisible()
{
if (!mVisible) {
@ -278,8 +266,6 @@ bool nsCaret::IsVisible()
return true;
}
//-----------------------------------------------------------------------------
void nsCaret::SetCaretReadOnly(bool inMakeReadonly)
{
mReadOnly = inMakeReadonly;
@ -527,8 +513,6 @@ void nsCaret::PaintCaret(nsDisplayListBuilder *aBuilder,
}
}
//-----------------------------------------------------------------------------
NS_IMETHODIMP
nsCaret::NotifySelectionChanged(nsIDOMDocument *, nsISelection *aDomSel,
int16_t aReason)
@ -555,8 +539,6 @@ nsCaret::NotifySelectionChanged(nsIDOMDocument *, nsISelection *aDomSel,
return NS_OK;
}
//-----------------------------------------------------------------------------
void nsCaret::ResetBlinking()
{
mIsBlinkOn = true;
@ -583,7 +565,6 @@ void nsCaret::ResetBlinking()
}
}
//-----------------------------------------------------------------------------
void nsCaret::StopBlinking()
{
if (mBlinkTimer)
@ -866,7 +847,6 @@ nsCaret::ComputeCaretRects(nsIFrame* aFrame, int32_t aFrameOffset,
}
}
//-----------------------------------------------------------------------------
/* static */
void nsCaret::CaretBlinkCallback(nsITimer* aTimer, void* aClosure)
{