Log Message
remove build warning(unused parameter) https://bugs.webkit.org/show_bug.cgi?id=114670
Patch by Xuefei Ren <x...@blackberry.com> on 2013-04-18 Reviewed by Rob Buis. Source/WebCore: remove builde warning (unused parameter) in Source/WebCore/platform/blackberry/CursorBlackBerry.cpp * platform/blackberry/CursorBlackBerry.cpp: (WebCore::Cursor::Cursor): Source/WebKit/blackberry: remove builde warning (unused parameter) in Source/WebKit/blackberry * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled): (BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed): (BlackBerry::WebKit::InputHandler::spannableTextInRange): * WebKitSupport/RenderQueue.cpp: (BlackBerry::WebKit::RenderQueue::backingStoreRectChanging): (BlackBerry::WebKit::RenderQueue::scrollZoomJobsCompleted): * WebKitSupport/SurfacePool.cpp: (BlackBerry::WebKit::SurfacePool::destroyPlatformGraphicsContext): (BlackBerry::WebKit::SurfacePool::waitForBuffer): (BlackBerry::WebKit::SurfacePool::notifyBuffersComposited): (BlackBerry::WebKit::SurfacePool::destroyPlatformSync): Tools: remove builde warning (unused parameter) in Tools/DumpRenderTree/blackberry * DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp: (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus): (AccessibilityUIElement::scrollToGlobalPoint): * DumpRenderTree/blackberry/DumpRenderTree.cpp: (BlackBerry::WebKit::DumpRenderTree::addMessageToConsole): (BlackBerry::WebKit::DumpRenderTree::didReceiveResponseForFrame): * DumpRenderTree/blackberry/EventSender.cpp: (getDragModeCallback): (setDragModeCallback): (mouseWheelToCallback): (contextClickCallback): (mouseDownCallback): (mouseUpCallback): (mouseMoveToCallback): (beginDragWithFilesCallback): (leapForwardCallback): (keyDownCallback): (textZoomInCallback): (textZoomOutCallback): (zoomPageInCallback): (zoomPageOutCallback): (addTouchPointCallback): (updateTouchPointCallback): (setTouchModifierCallback): (touchStartCallback): (touchCancelCallback): (touchMoveCallback): (touchEndCallback): (clearTouchPointsCallback): (cancelTouchPointCallback): (releaseTouchPointCallback): (scalePageByCallback): * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp: (TestRunner::authenticateSession): (TestRunner::setSpatialNavigationEnabled): (TestRunner::apiTestNewWindowDataLoadBaseURL): (TestRunner::setPluginsEnabled): (TestRunner::setApplicationCacheOriginQuota): (TestRunner::addMockSpeechInputResult): (TestRunner::setViewModeMediaFeature): (TestRunner::deleteLocalStorageForOrigin): (TestRunner::applicationCacheDiskUsageForOrigin): (TestRunner::grantWebNotificationPermission): (TestRunner::denyWebNotificationPermission): (TestRunner::simulateWebNotificationClick): (TestRunner::simulateLegacyWebNotificationClick):
Modified Paths
- trunk/Source/WebCore/ChangeLog
- trunk/Source/WebCore/platform/blackberry/CursorBlackBerry.cpp
- trunk/Source/WebKit/blackberry/ChangeLog
- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp
- trunk/Source/WebKit/blackberry/WebKitSupport/RenderQueue.cpp
- trunk/Source/WebKit/blackberry/WebKitSupport/SurfacePool.cpp
- trunk/Tools/ChangeLog
- trunk/Tools/DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp
- trunk/Tools/DumpRenderTree/blackberry/DumpRenderTree.cpp
- trunk/Tools/DumpRenderTree/blackberry/EventSender.cpp
- trunk/Tools/DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp
Diff
Modified: trunk/Source/WebCore/ChangeLog (148676 => 148677)
--- trunk/Source/WebCore/ChangeLog 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Source/WebCore/ChangeLog 2013-04-18 14:55:30 UTC (rev 148677)
@@ -1,3 +1,17 @@
+2013-04-18 Xuefei Ren <x...@blackberry.com>
+
+
+ remove build warning(unused parameter)
+ https://bugs.webkit.org/show_bug.cgi?id=114670
+
+ Reviewed by Rob Buis.
+
+ remove builde warning (unused parameter) in
+ Source/WebCore/platform/blackberry/CursorBlackBerry.cpp
+
+ * platform/blackberry/CursorBlackBerry.cpp:
+ (WebCore::Cursor::Cursor):
+
2013-04-18 Andreas Kling <akl...@apple.com>
EditingStyle: Avoid some unnecessary CSSStyleDeclaration wrappers.
Modified: trunk/Source/WebCore/platform/blackberry/CursorBlackBerry.cpp (148676 => 148677)
--- trunk/Source/WebCore/platform/blackberry/CursorBlackBerry.cpp 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Source/WebCore/platform/blackberry/CursorBlackBerry.cpp 2013-04-18 14:55:30 UTC (rev 148677)
@@ -47,7 +47,7 @@
{
}
-Cursor::Cursor(Image* image, const IntPoint& hotspot)
+Cursor::Cursor(Image*, const IntPoint& hotspot)
: m_platformCursor(BlackBerry::Platform::CursorCustomized, std::string(), hotspot)
{
}
Modified: trunk/Source/WebKit/blackberry/ChangeLog (148676 => 148677)
--- trunk/Source/WebKit/blackberry/ChangeLog 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2013-04-18 14:55:30 UTC (rev 148677)
@@ -5,6 +5,29 @@
Reviewed by Rob Buis.
+ remove builde warning (unused parameter) in
+ Source/WebKit/blackberry
+
+ * WebKitSupport/InputHandler.cpp:
+ (BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled):
+ (BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed):
+ (BlackBerry::WebKit::InputHandler::spannableTextInRange):
+ * WebKitSupport/RenderQueue.cpp:
+ (BlackBerry::WebKit::RenderQueue::backingStoreRectChanging):
+ (BlackBerry::WebKit::RenderQueue::scrollZoomJobsCompleted):
+ * WebKitSupport/SurfacePool.cpp:
+ (BlackBerry::WebKit::SurfacePool::destroyPlatformGraphicsContext):
+ (BlackBerry::WebKit::SurfacePool::waitForBuffer):
+ (BlackBerry::WebKit::SurfacePool::notifyBuffersComposited):
+ (BlackBerry::WebKit::SurfacePool::destroyPlatformSync):
+
+2013-04-18 Xuefei Ren <x...@blackberry.com>
+
+ remove build warning(unused parameter)
+ https://bugs.webkit.org/show_bug.cgi?id=114670
+
+ Reviewed by Rob Buis.
+
remove build warning in Source/WebKit/blackberry/Api
* Api/BackingStore.cpp:
Modified: trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp (148676 => 148677)
--- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 2013-04-18 14:55:30 UTC (rev 148677)
@@ -664,7 +664,7 @@
m_request = spellCheckRequest;
}
-void InputHandler::spellCheckingRequestCancelled(int32_t transactionId)
+void InputHandler::spellCheckingRequestCancelled(int32_t)
{
SpellingLog(Platform::LogLevelWarn,
"InputHandler::spellCheckingRequestCancelled Expected transaction id %d, received %d. %s",
@@ -679,7 +679,7 @@
m_processingTransactionId = -1;
}
-void InputHandler::spellCheckingRequestProcessed(int32_t transactionId, spannable_string_t* spannableString)
+void InputHandler::spellCheckingRequestProcessed(int32_t, spannable_string_t* spannableString)
{
SpellingLog(Platform::LogLevelWarn,
"InputHandler::spellCheckingRequestProcessed Expected transaction id %d, received %d. %s",
@@ -2151,7 +2151,7 @@
return deleteSelection();
}
-spannable_string_t* InputHandler::spannableTextInRange(int start, int end, int32_t flags)
+spannable_string_t* InputHandler::spannableTextInRange(int start, int end, int32_t)
{
if (!isActiveTextEdit())
return 0;
Modified: trunk/Source/WebKit/blackberry/WebKitSupport/RenderQueue.cpp (148676 => 148677)
--- trunk/Source/WebKit/blackberry/WebKitSupport/RenderQueue.cpp 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/RenderQueue.cpp 2013-04-18 14:55:30 UTC (rev 148677)
@@ -456,7 +456,7 @@
ASSERT(!isEmpty());
}
-void RenderQueue::backingStoreRectChanging(const Platform::IntRect& oldRect, const Platform::IntRect& newRect)
+void RenderQueue::backingStoreRectChanging(const Platform::IntRect&, const Platform::IntRect&)
{
// We could empty them here instead of in BackingStorePrivate::setBackingStoreRect(),
// but it seems cleaner to do it there and still avoid code to manually move them.
@@ -879,7 +879,7 @@
scrollZoomJobsCompleted(*outstandingJobs, completedJobs, shouldBlitWhenCompleted);
}
-void RenderQueue::scrollZoomJobsCompleted(const TileIndexList& outstandingJobs, TileIndexList* completedJobs, bool shouldBlit)
+void RenderQueue::scrollZoomJobsCompleted(const TileIndexList&, TileIndexList* completedJobs, bool shouldBlit)
{
// Get rid of the completed list!
ASSERT(outstandingJobs.isEmpty());
Modified: trunk/Source/WebKit/blackberry/WebKitSupport/SurfacePool.cpp (148676 => 148677)
--- trunk/Source/WebKit/blackberry/WebKitSupport/SurfacePool.cpp 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/SurfacePool.cpp 2013-04-18 14:55:30 UTC (rev 148677)
@@ -123,7 +123,7 @@
return drawable;
}
-void SurfacePool::destroyPlatformGraphicsContext(PlatformGraphicsContext* platformGraphicsContext) const
+void SurfacePool::destroyPlatformGraphicsContext(PlatformGraphicsContext*) const
{
}
@@ -196,19 +196,19 @@
Platform::createFunctionCallMessage(&Platform::Graphics::collectThreadSpecificGarbage));
}
-void SurfacePool::waitForBuffer(TileBuffer* tileBuffer)
+void SurfacePool::waitForBuffer(TileBuffer*)
{
if (!m_hasFenceExtension)
return;
}
-void SurfacePool::notifyBuffersComposited(const TileBufferList& tileBuffers)
+void SurfacePool::notifyBuffersComposited(const TileBufferList&)
{
if (!m_hasFenceExtension)
return;
}
-void SurfacePool::destroyPlatformSync(void* platformSync)
+void SurfacePool::destroyPlatformSync(void*)
{
}
Modified: trunk/Tools/ChangeLog (148676 => 148677)
--- trunk/Tools/ChangeLog 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Tools/ChangeLog 2013-04-18 14:55:30 UTC (rev 148677)
@@ -1,3 +1,60 @@
+2013-04-18 Xuefei Ren <x...@blackberry.com>
+
+ remove build warning(unused parameter)
+ https://bugs.webkit.org/show_bug.cgi?id=114670
+
+ Reviewed by Rob Buis.
+
+ remove builde warning (unused parameter) in
+ Tools/DumpRenderTree/blackberry
+
+ * DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp:
+ (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
+ (AccessibilityUIElement::scrollToGlobalPoint):
+ * DumpRenderTree/blackberry/DumpRenderTree.cpp:
+ (BlackBerry::WebKit::DumpRenderTree::addMessageToConsole):
+ (BlackBerry::WebKit::DumpRenderTree::didReceiveResponseForFrame):
+ * DumpRenderTree/blackberry/EventSender.cpp:
+ (getDragModeCallback):
+ (setDragModeCallback):
+ (mouseWheelToCallback):
+ (contextClickCallback):
+ (mouseDownCallback):
+ (mouseUpCallback):
+ (mouseMoveToCallback):
+ (beginDragWithFilesCallback):
+ (leapForwardCallback):
+ (keyDownCallback):
+ (textZoomInCallback):
+ (textZoomOutCallback):
+ (zoomPageInCallback):
+ (zoomPageOutCallback):
+ (addTouchPointCallback):
+ (updateTouchPointCallback):
+ (setTouchModifierCallback):
+ (touchStartCallback):
+ (touchCancelCallback):
+ (touchMoveCallback):
+ (touchEndCallback):
+ (clearTouchPointsCallback):
+ (cancelTouchPointCallback):
+ (releaseTouchPointCallback):
+ (scalePageByCallback):
+ * DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
+ (TestRunner::authenticateSession):
+ (TestRunner::setSpatialNavigationEnabled):
+ (TestRunner::apiTestNewWindowDataLoadBaseURL):
+ (TestRunner::setPluginsEnabled):
+ (TestRunner::setApplicationCacheOriginQuota):
+ (TestRunner::addMockSpeechInputResult):
+ (TestRunner::setViewModeMediaFeature):
+ (TestRunner::deleteLocalStorageForOrigin):
+ (TestRunner::applicationCacheDiskUsageForOrigin):
+ (TestRunner::grantWebNotificationPermission):
+ (TestRunner::denyWebNotificationPermission):
+ (TestRunner::simulateWebNotificationClick):
+ (TestRunner::simulateLegacyWebNotificationClick):
+
2013-04-18 Grzegorz Czajkowski <g.czajkow...@samsung.com>
[WK2][EFL] Text Checker's settings refactor
Modified: trunk/Tools/DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp (148676 => 148677)
--- trunk/Tools/DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Tools/DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp 2013-04-18 14:55:30 UTC (rev 148677)
@@ -561,12 +561,12 @@
notImplemented();
}
-void AccessibilityUIElement::scrollToMakeVisibleWithSubFocus(int x, int y, int width, int height)
+void AccessibilityUIElement::scrollToMakeVisibleWithSubFocus(int, int, int, int)
{
notImplemented();
}
-void AccessibilityUIElement::scrollToGlobalPoint(int x, int y)
+void AccessibilityUIElement::scrollToGlobalPoint(int, int)
{
notImplemented();
}
Modified: trunk/Tools/DumpRenderTree/blackberry/DumpRenderTree.cpp (148676 => 148677)
--- trunk/Tools/DumpRenderTree/blackberry/DumpRenderTree.cpp 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Tools/DumpRenderTree/blackberry/DumpRenderTree.cpp 2013-04-18 14:55:30 UTC (rev 148677)
@@ -705,7 +705,7 @@
}
// ChromeClient delegates.
-void DumpRenderTree::addMessageToConsole(const String& message, unsigned lineNumber, const String& sourceID)
+void DumpRenderTree::addMessageToConsole(const String& message, unsigned lineNumber, const String&)
{
printf("CONSOLE MESSAGE: ");
if (lineNumber)
@@ -929,7 +929,7 @@
printf("%s - didHandleOnloadEventsForFrame\n", drtFrameDescription(frame).utf8().data());
}
-void DumpRenderTree::didReceiveResponseForFrame(WebCore::Frame* frame, const WebCore::ResourceResponse& response)
+void DumpRenderTree::didReceiveResponseForFrame(WebCore::Frame*, const WebCore::ResourceResponse& response)
{
if (!testDone && gTestRunner->dumpResourceResponseMIMETypes())
printf("%s has MIME type %s\n", response.url().lastPathComponent().utf8().data(), response.mimeType().utf8().data());
Modified: trunk/Tools/DumpRenderTree/blackberry/EventSender.cpp (148676 => 148677)
--- trunk/Tools/DumpRenderTree/blackberry/EventSender.cpp 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Tools/DumpRenderTree/blackberry/EventSender.cpp 2013-04-18 14:55:30 UTC (rev 148677)
@@ -47,25 +47,25 @@
// Callbacks
-static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
+static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef, JSStringRef, JSValueRef* exception)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception)
+static bool setDragModeCallback(JSContextRef context, JSObjectRef, JSStringRef, JSValueRef, JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef mouseWheelToCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef mouseWheelToCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef contextClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef contextClickCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
@@ -80,7 +80,7 @@
event.populateDocumentPosition(documentViewportMousePos, documentContentPos);
}
-static JSValueRef mouseDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef mouseDownCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
BlackBerry::WebKit::WebPage* page = BlackBerry::WebKit::DumpRenderTree::currentInstance()->page();
BlackBerry::Platform::MouseEvent event(BlackBerry::Platform::MouseEvent::ScreenLeftMouseButton, 0, lastMousePosition, IntPoint::zero(), 0, 0, 0);
@@ -91,7 +91,7 @@
return JSValueMakeUndefined(context);
}
-static JSValueRef mouseUpCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef mouseUpCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
BlackBerry::WebKit::WebPage* page = BlackBerry::WebKit::DumpRenderTree::currentInstance()->page();
BlackBerry::Platform::MouseEvent event(0, BlackBerry::Platform::MouseEvent::ScreenLeftMouseButton, lastMousePosition, IntPoint::zero(), 0, 0, 0);
@@ -102,7 +102,7 @@
return JSValueMakeUndefined(context);
}
-static JSValueRef mouseMoveToCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef mouseMoveToCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
if (argumentCount < 2)
return JSValueMakeUndefined(context);
@@ -123,19 +123,19 @@
return JSValueMakeUndefined(context);
}
-static JSValueRef beginDragWithFilesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef beginDragWithFilesCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef keyDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef keyDownCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
if (argumentCount < 1)
return JSValueMakeUndefined(context);
@@ -208,31 +208,31 @@
return JSValueMakeUndefined(context);
}
-static JSValueRef textZoomInCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef textZoomInCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef textZoomOutCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef textZoomOutCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef zoomPageInCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef zoomPageInCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef zoomPageOutCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef zoomPageOutCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef addTouchPointCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef addTouchPointCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
if (argumentCount < 2)
return JSValueMakeUndefined(context);
@@ -258,7 +258,7 @@
return JSValueMakeUndefined(context);
}
-static JSValueRef updateTouchPointCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef updateTouchPointCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
if (argumentCount < 3)
return JSValueMakeUndefined(context);
@@ -287,13 +287,13 @@
return JSValueMakeUndefined(context);
}
-static JSValueRef setTouchModifierCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef setTouchModifierCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef touchStartCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef touchStartCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
if (!touchActive) {
sendTouchEvent(BlackBerry::Platform::TouchEvent::TouchStart);
@@ -303,19 +303,19 @@
return JSValueMakeUndefined(context);
}
-static JSValueRef touchCancelCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef touchCancelCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef touchMoveCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef touchMoveCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
sendTouchEvent(BlackBerry::Platform::TouchEvent::TouchMove);
return JSValueMakeUndefined(context);
}
-static JSValueRef touchEndCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef touchEndCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
for (unsigned i = 0; i < touches.size(); ++i)
if (touches[i].state() != BlackBerry::Platform::TouchPoint::TouchReleased) {
@@ -327,20 +327,20 @@
return JSValueMakeUndefined(context);
}
-static JSValueRef clearTouchPointsCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef clearTouchPointsCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
touches.clear();
touchActive = false;
return JSValueMakeUndefined(context);
}
-static JSValueRef cancelTouchPointCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef cancelTouchPointCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t, const JSValueRef[], JSValueRef*)
{
notImplemented();
return JSValueMakeUndefined(context);
}
-static JSValueRef releaseTouchPointCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef releaseTouchPointCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
if (argumentCount < 1)
return JSValueMakeUndefined(context);
@@ -372,7 +372,7 @@
touches = t;
}
-static JSValueRef scalePageByCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
+static JSValueRef scalePageByCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
if (argumentCount < 3)
return JSValueMakeUndefined(context);
@@ -422,7 +422,7 @@
{ 0, 0, 0, 0 }
};
-static JSClassRef getClass(JSContextRef context)
+static JSClassRef getClass(JSContextRef)
{
static JSClassRef eventSenderClass = 0;
Modified: trunk/Tools/DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp (148676 => 148677)
--- trunk/Tools/DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp 2013-04-18 14:30:25 UTC (rev 148676)
+++ trunk/Tools/DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp 2013-04-18 14:55:30 UTC (rev 148677)
@@ -424,7 +424,7 @@
notImplemented();
}
-void TestRunner::authenticateSession(JSStringRef url, JSStringRef username, JSStringRef password)
+void TestRunner::authenticateSession(JSStringRef, JSStringRef, JSStringRef)
{
notImplemented();
}
@@ -435,7 +435,7 @@
return false;
}
-void TestRunner::setSpatialNavigationEnabled(bool enable)
+void TestRunner::setSpatialNavigationEnabled(bool)
{
notImplemented();
}
@@ -472,7 +472,7 @@
mainFrame->page()->settings()->setAllowUniversalAccessFromFileURLs(enabled);
}
-void TestRunner::apiTestNewWindowDataLoadBaseURL(JSStringRef utf8Data, JSStringRef baseURL)
+void TestRunner::apiTestNewWindowDataLoadBaseURL(JSStringRef, JSStringRef)
{
notImplemented();
}
@@ -487,7 +487,7 @@
BlackBerry::WebKit::DumpRenderTree::currentInstance()->page()->setJavaScriptCanAccessClipboard(flag);
}
-void TestRunner::setPluginsEnabled(bool flag)
+void TestRunner::setPluginsEnabled(bool)
{
notImplemented();
}
@@ -502,7 +502,7 @@
notImplemented();
}
-void TestRunner::setApplicationCacheOriginQuota(unsigned long long quota)
+void TestRunner::setApplicationCacheOriginQuota(unsigned long long)
{
notImplemented();
}
@@ -512,7 +512,7 @@
DumpRenderTreeSupport::setMockDeviceOrientation(BlackBerry::WebKit::DumpRenderTree::currentInstance()->page(), canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
}
-void TestRunner::addMockSpeechInputResult(JSStringRef result, double confidence, JSStringRef language)
+void TestRunner::addMockSpeechInputResult(JSStringRef, double, JSStringRef)
{
notImplemented();
}
@@ -523,7 +523,7 @@
DumpRenderTreeSupport::setMockGeolocationPermission(BlackBerry::WebKit::DumpRenderTree::currentInstance()->page(), allow);
}
-void TestRunner::setViewModeMediaFeature(const JSStringRef mode)
+void TestRunner::setViewModeMediaFeature(const JSStringRef)
{
notImplemented();
}
@@ -623,7 +623,7 @@
return mainFrame->page()->findString(nameStr, options);
}
-void TestRunner::deleteLocalStorageForOrigin(JSStringRef URL)
+void TestRunner::deleteLocalStorageForOrigin(JSStringRef)
{
// FIXME: Implement.
}
@@ -641,7 +641,7 @@
inputElement->setValueForUser(jsStringRefToWebCoreString(value));
}
-long long TestRunner::applicationCacheDiskUsageForOrigin(JSStringRef origin)
+long long TestRunner::applicationCacheDiskUsageForOrigin(JSStringRef)
{
// FIXME: Implement to support getting disk usage by all application caches for an origin.
return 0;
@@ -667,11 +667,11 @@
{
}
-void TestRunner::grantWebNotificationPermission(JSStringRef origin)
+void TestRunner::grantWebNotificationPermission(JSStringRef)
{
}
-void TestRunner::denyWebNotificationPermission(JSStringRef jsOrigin)
+void TestRunner::denyWebNotificationPermission(JSStringRef)
{
}
@@ -679,11 +679,11 @@
{
}
-void TestRunner::simulateWebNotificationClick(JSValueRef jsNotification)
+void TestRunner::simulateWebNotificationClick(JSValueRef)
{
}
-void TestRunner::simulateLegacyWebNotificationClick(JSStringRef title)
+void TestRunner::simulateLegacyWebNotificationClick(JSStringRef)
{
}
_______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes