Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe

This commit is contained in:
Kartikaya Gupta
2013-06-10 09:05:44 -04:00
parent bc3c1c3715
commit 96d90a7c9f
12 changed files with 67 additions and 42 deletions

View File

@@ -2796,7 +2796,7 @@ AndroidBridge::RequestContentRepaint(const mozilla::layers::FrameMetrics& aFrame
}
void
AndroidBridge::HandleDoubleTap(const nsIntPoint& aPoint)
AndroidBridge::HandleDoubleTap(const CSSIntPoint& aPoint)
{
nsCString data = nsPrintfCString("{ \"x\": %d, \"y\": %d }", aPoint.x, aPoint.y);
nsAppShell::gAppShell->PostEvent(AndroidGeckoEvent::MakeBroadcastEvent(
@@ -2804,7 +2804,7 @@ AndroidBridge::HandleDoubleTap(const nsIntPoint& aPoint)
}
void
AndroidBridge::HandleSingleTap(const nsIntPoint& aPoint)
AndroidBridge::HandleSingleTap(const CSSIntPoint& aPoint)
{
nsCString data = nsPrintfCString("{ \"x\": %d, \"y\": %d }", aPoint.x, aPoint.y);
nsAppShell::gAppShell->PostEvent(AndroidGeckoEvent::MakeBroadcastEvent(
@@ -2812,7 +2812,7 @@ AndroidBridge::HandleSingleTap(const nsIntPoint& aPoint)
}
void
AndroidBridge::HandleLongTap(const nsIntPoint& aPoint)
AndroidBridge::HandleLongTap(const CSSIntPoint& aPoint)
{
nsCString data = nsPrintfCString("{ \"x\": %d, \"y\": %d }", aPoint.x, aPoint.y);
nsAppShell::gAppShell->PostEvent(AndroidGeckoEvent::MakeBroadcastEvent(