зеркало из https://github.com/mozilla/gecko-dev.git
Bug 635544 - rename nsIWidget::DrawOver to DrawWindowOverlay. r=roc
This commit is contained in:
Родитель
d180920bc3
Коммит
b36c809b6c
|
@ -818,7 +818,7 @@ LayerManagerOGL::Render()
|
|||
RootLayer()->RenderLayer(mGLContext->IsDoubleBuffered() ? 0 : mBackBufferFBO,
|
||||
nsIntPoint(0, 0));
|
||||
|
||||
mWidget->DrawOver(this, rect);
|
||||
mWidget->DrawWindowOverlay(this, rect);
|
||||
|
||||
if (mTarget) {
|
||||
CopyToTarget();
|
||||
|
|
|
@ -499,7 +499,7 @@ public:
|
|||
|
||||
virtual void CreateCompositor();
|
||||
virtual gfxASurface* GetThebesSurface();
|
||||
virtual void DrawOver(LayerManager* aManager, nsIntRect aRect);
|
||||
virtual void DrawWindowOverlay(LayerManager* aManager, nsIntRect aRect);
|
||||
|
||||
virtual void UpdateThemeGeometries(const nsTArray<ThemeGeometry>& aThemeGeometries);
|
||||
|
||||
|
|
|
@ -1833,7 +1833,7 @@ DrawResizer(CGContextRef aCtx)
|
|||
}
|
||||
|
||||
void
|
||||
nsChildView::DrawOver(LayerManager* aManager, nsIntRect aRect)
|
||||
nsChildView::DrawWindowOverlay(LayerManager* aManager, nsIntRect aRect)
|
||||
{
|
||||
if (!ShowsResizeIndicator(nsnull)) {
|
||||
return;
|
||||
|
|
|
@ -1068,7 +1068,7 @@ class nsIWidget : public nsISupports {
|
|||
* @param aManager The drawing LayerManager.
|
||||
* @param aRect Current widget rect that is being drawn.
|
||||
*/
|
||||
virtual void DrawOver(LayerManager* aManager, nsIntRect aRect) = 0;
|
||||
virtual void DrawWindowOverlay(LayerManager* aManager, nsIntRect aRect) = 0;
|
||||
|
||||
/**
|
||||
* Called when Gecko knows which themed widgets exist in this window.
|
||||
|
|
|
@ -132,7 +132,7 @@ public:
|
|||
bool* aAllowRetaining = nsnull);
|
||||
|
||||
virtual void CreateCompositor();
|
||||
virtual void DrawOver(LayerManager* aManager, nsIntRect aRect) {}
|
||||
virtual void DrawWindowOverlay(LayerManager* aManager, nsIntRect aRect) {}
|
||||
virtual void UpdateThemeGeometries(const nsTArray<ThemeGeometry>& aThemeGeometries) {}
|
||||
virtual gfxASurface* GetThebesSurface();
|
||||
NS_IMETHOD SetModal(bool aModal);
|
||||
|
|
Загрузка…
Ссылка в новой задаче