зеркало из https://github.com/mozilla/pjs.git
Bug 385269, no caret in textboxes inside a popup,r=josh,sr=vlad
This commit is contained in:
Родитель
5719e9243d
Коммит
f9ffe61ea3
|
@ -196,6 +196,8 @@ public:
|
|||
NS_IMETHOD SetAnimatedResize(PRUint16 aAnimation);
|
||||
NS_IMETHOD GetAnimatedResize(PRUint16* aAnimation);
|
||||
|
||||
virtual gfxASurface* GetThebesSurface();
|
||||
|
||||
// be notified that a some form of drag event needs to go into Gecko
|
||||
virtual PRBool DragEvent(unsigned int aMessage, Point aMouseGlobal, UInt16 aKeyModifiers);
|
||||
|
||||
|
|
|
@ -1079,6 +1079,13 @@ NS_IMETHODIMP nsCocoaWindow::GetAnimatedResize(PRUint16* aAnimation)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
gfxASurface* nsCocoaWindow::GetThebesSurface()
|
||||
{
|
||||
if (mPopupContentView)
|
||||
return mPopupContentView->GetThebesSurface();
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
|
||||
@implementation WindowDelegate
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче