зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1281686 - Part 1: Fix OSX Compile failure due to unified build. r=mstange
MozReview-Commit-ID: FIcq2svB0fL
This commit is contained in:
Родитель
1757b081e2
Коммит
cbaeef2521
|
@ -329,7 +329,7 @@ public:
|
|||
void DispatchSizeModeEvent();
|
||||
|
||||
// be notified that a some form of drag event needs to go into Gecko
|
||||
virtual bool DragEvent(unsigned int aMessage, Point aMouseGlobal, UInt16 aKeyModifiers);
|
||||
virtual bool DragEvent(unsigned int aMessage, mozilla::gfx::Point aMouseGlobal, UInt16 aKeyModifiers);
|
||||
|
||||
bool HasModalDescendents() { return mNumModalDescendents > 0; }
|
||||
NSWindow *GetCocoaWindow() { return mWindow; }
|
||||
|
|
|
@ -1817,7 +1817,7 @@ NS_IMETHODIMP nsCocoaWindow::Invalidate(const LayoutDeviceIntRect& aRect)
|
|||
// a drop, to a drag enter/leave, or a drag over event. The actual event
|
||||
// is passed in |aMessage| and is passed along to our event hanlder so Gecko
|
||||
// knows about it.
|
||||
bool nsCocoaWindow::DragEvent(unsigned int aMessage, Point aMouseGlobal, UInt16 aKeyModifiers)
|
||||
bool nsCocoaWindow::DragEvent(unsigned int aMessage, mozilla::gfx::Point aMouseGlobal, UInt16 aKeyModifiers)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ nsScreenCocoa::GetRect(int32_t *outX, int32_t *outY, int32_t *outWidth, int32_t
|
|||
{
|
||||
NSRect frame = [mScreen frame];
|
||||
|
||||
LayoutDeviceIntRect r =
|
||||
mozilla::LayoutDeviceIntRect r =
|
||||
nsCocoaUtils::CocoaRectToGeckoRectDevPix(frame, BackingScaleFactor());
|
||||
|
||||
*outX = r.x;
|
||||
|
@ -60,7 +60,7 @@ nsScreenCocoa::GetAvailRect(int32_t *outX, int32_t *outY, int32_t *outWidth, int
|
|||
{
|
||||
NSRect frame = [mScreen visibleFrame];
|
||||
|
||||
LayoutDeviceIntRect r =
|
||||
mozilla::LayoutDeviceIntRect r =
|
||||
nsCocoaUtils::CocoaRectToGeckoRectDevPix(frame, BackingScaleFactor());
|
||||
|
||||
*outX = r.x;
|
||||
|
@ -76,7 +76,7 @@ nsScreenCocoa::GetRectDisplayPix(int32_t *outX, int32_t *outY, int32_t *outWidth
|
|||
{
|
||||
NSRect frame = [mScreen frame];
|
||||
|
||||
DesktopIntRect r = nsCocoaUtils::CocoaRectToGeckoRect(frame);
|
||||
mozilla::DesktopIntRect r = nsCocoaUtils::CocoaRectToGeckoRect(frame);
|
||||
|
||||
*outX = r.x;
|
||||
*outY = r.y;
|
||||
|
@ -91,7 +91,7 @@ nsScreenCocoa::GetAvailRectDisplayPix(int32_t *outX, int32_t *outY, int32_t *out
|
|||
{
|
||||
NSRect frame = [mScreen visibleFrame];
|
||||
|
||||
DesktopIntRect r = nsCocoaUtils::CocoaRectToGeckoRect(frame);
|
||||
mozilla::DesktopIntRect r = nsCocoaUtils::CocoaRectToGeckoRect(frame);
|
||||
|
||||
*outX = r.x;
|
||||
*outY = r.y;
|
||||
|
|
Загрузка…
Ссылка в новой задаче