Fix unused parameter compile warnings in WebKit/WebKit2
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Sep 2012 06:52:56 +0000 (06:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Sep 2012 06:52:56 +0000 (06:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=96742

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-09-19
Reviewed by Gyuyoung Kim.

Source/WebKit/efl:

Fix unused parameter compile warning messages(-Wunused-parameter) in WebKit during EFL build.
WebCore's warning messages were fixed in r128570.

* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::createWindow):
(WebCore::ChromeClientEfl::mouseDidMoveOverElement):
(WebCore::ChromeClientEfl::print):
(WebCore::ChromeClientEfl::reachedMaxAppCacheSize):
(WebCore::ChromeClientEfl::invalidateContents):
(WebCore::ChromeClientEfl::invalidateRootView):
(WebCore::ChromeClientEfl::invalidateContentsAndRootView):
* WebCoreSupport/EditorClientEfl.cpp:
(WebCore::EditorClientEfl::handleInputMethodKeydown):
(WebCore::EditorClientEfl::getGuessesForWord):
* WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge):
(WebCore::FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge):
(WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
(WebCore::FrameLoaderClientEfl::createFrame):
(WebCore::FrameLoaderClientEfl::createJavaAppletWidget):
(WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem):
(WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML):
(WebCore::FrameLoaderClientEfl::setTitle):
(WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength):
(WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache):
(WebCore::FrameLoaderClientEfl::setMainDocumentError):
* WebCoreSupport/FullscreenVideoControllerEfl.cpp:
(FullscreenVideoController::showHud):
(FullscreenVideoController::setVolume):
(FullscreenVideoController::setCurrentTime):
* WebCoreSupport/InspectorClientEfl.cpp:
(WebCore::notifyWebInspectorDestroy):
(WebCore::InspectorFrontendSettingsEfl::getProperty):
(WebCore::InspectorFrontendSettingsEfl::setProperty):
* WebCoreSupport/PlatformStrategiesEfl.cpp:
(PlatformStrategiesEfl::getPluginInfo):
* ewk/ewk_auth_soup.cpp:
(ewk_auth_soup_dialog_class_init):
(ewk_auth_soup_dialog_init):
(ewk_auth_soup_dialog_session_feature_init):
(session_authenticate):
* ewk/ewk_file_chooser.cpp:
(ewk_file_chooser_allows_directory_upload_get):
* ewk/ewk_frame.cpp:
(ewk_frame_feed_focus_out):
(ewk_frame_view_state_save):
(ewk_frame_plugin_create):
* ewk/ewk_js.cpp:
(ewk_js_object_new):
(ewk_js_object_free):
(ewk_js_object_view_get):
(ewk_js_object_properties_get):
(ewk_js_object_name_get):
(ewk_js_object_invoke):
(ewk_js_object_type_get):
(ewk_js_object_type_set):
(ewk_js_variant_free):
(ewk_js_variant_array_free):
* ewk/ewk_tiled_model.cpp:
(tile_account):
(_ewk_tile_account_allocated):
(_ewk_tile_account_freed):
* ewk/ewk_view.cpp:
(_ewk_view_smart_add_console_message):
(_ewk_view_smart_run_javascript_alert):
(_ewk_view_smart_run_javascript_confirm):
(_ewk_view_smart_should_interrupt_javascript):
(_ewk_view_smart_run_javascript_prompt):
(_ewk_view_smart_move):
(_ewk_view_smart_contents_resize):
(_ewk_view_editor_command_string_get):
(ewk_view_popup_new):
(ewk_view_js_object_add):
(ewk_view_accelerated_compositing_object_create):
(ewk_view_accelerated_compositing_context_get):
(ewk_view_setting_web_audio_get):
(ewk_view_setting_web_audio_set):
* ewk/ewk_view_single.cpp:
(_ewk_view_single_smart_bg_color_set):
* ewk/ewk_view_tiled.cpp:
(_ewk_view_tiled_updates_process_pre):
(_ewk_view_tiled_contents_size_changed_cb):
(_ewk_view_tiled_smart_bg_color_set):

Source/WebKit2:

Fix unused parameter compile warning messages(-Wunused-parameter) in WebKit2 during EFL build.
WebCore's warning messages were fixed in r128570.

* Shared/FontInfo.cpp:
(WebKit::FontInfo::encode):
(WebKit::FontInfo::decode):
* Shared/PlatformPopupMenuData.cpp:
(WebKit::PlatformPopupMenuData::encode):
(WebKit::PlatformPopupMenuData::decode):
* Shared/SandboxExtension.h:
(WebKit::SandboxExtension::createHandleForTemporaryFile):
* Shared/ShareableSurface.cpp:
(WebKit::ShareableSurface::create):
* Shared/WebMemorySampler.cpp:
(WebKit::WebMemorySampler::appendCurrentMemoryUsageToFile):
* UIProcess/API/C/WKPage.cpp:
(WKPageGetContentsAsMHTMLData):
* UIProcess/API/C/WKPluginSiteDataManager.cpp:
(WKPluginSiteDataManagerClearSiteData):
(WKPluginSiteDataManagerClearAllSiteData):
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetHixie76WebSocketProtocolEnabled):
(WKPreferencesGetHixie76WebSocketProtocolEnabled):
* UIProcess/API/efl/BatteryProvider.cpp:
(startUpdatingCallback):
(stopUpdatingCallback):
* UIProcess/API/efl/PageClientImpl.cpp:
(WebKit::PageClientImpl::doneWithTouchEvent):
* UIProcess/API/efl/VibrationProvider.cpp:
(vibrateCallback):
(cancelVibrationCallback):
* UIProcess/API/efl/ewk_context_download_client.cpp:
(decideDestinationWithSuggestedFilename):
(didCreateDestination):
* UIProcess/API/efl/ewk_view.cpp:
(_ewk_view_on_focus_in):
(_ewk_view_on_focus_out):
(_ewk_view_on_mouse_wheel):
(_ewk_view_on_mouse_down):
(_ewk_view_on_mouse_up):
(_ewk_view_on_mouse_move):
(_ewk_view_on_key_down):
(_ewk_view_on_key_up):
(_ewk_view_smart_move):
(ewk_view_contents_size_changed):
* UIProcess/API/efl/ewk_view_find_client.cpp:
(didFindString):
* UIProcess/API/efl/ewk_view_form_client.cpp:
(willSubmitForm):
* UIProcess/API/efl/ewk_view_loader_client.cpp:
(didReceiveIntentForFrame):
(registerIntentServiceForFrame):
(didFinishLoadForFrame):
(didFailLoadWithErrorForFrame):
(didStartProvisionalLoadForFrame):
(didReceiveServerRedirectForProvisionalLoadForFrame):
(didFailProvisionalLoadWithErrorForFrame):
(didChangeBackForwardList):
* UIProcess/API/efl/ewk_view_policy_client.cpp:
(decidePolicyForNavigationAction):
(decidePolicyForNewWindowAction):
(decidePolicyForResponseCallback):
* UIProcess/DrawingAreaProxy.h:
(WebKit::DrawingAreaProxy::update):
(WebKit::DrawingAreaProxy::didUpdateBackingStoreState):
* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::didUpdateBackingStoreState):
(WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
(WebKit::DrawingAreaProxyImpl::updateAcceleratedCompositingMode):
* UIProcess/FindIndicator.cpp:
(WebKit::FindIndicator::draw):
* UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
(WebKit::GeolocationPermissionRequestManagerProxy::didReceiveGeolocationPermissionDecision):
* UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp:
(WebKit::PluginInfoStore::shouldUsePlugin):
* UIProcess/WebContext.cpp:
(WebKit::WebContext::setHTTPPipeliningEnabled):
* UIProcess/WebFullScreenManagerProxy.cpp:
(WebKit::WebFullScreenManagerProxy::supportsFullScreen):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::sessionStateData):
(WebKit::WebPageProxy::recommendedScrollbarStyleDidChange):
(WebKit::WebPageProxy::didBlockInsecurePluginVersion):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::createWebPage):
* UIProcess/efl/TextCheckerEfl.cpp:
(WebKit::TextChecker::continuousSpellCheckingEnabledStateChanged):
(WebKit::TextChecker::grammarCheckingEnabledStateChanged):
* UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
(WebKit::WebFullScreenManagerProxy::beganEnterFullScreen):
(WebKit::WebFullScreenManagerProxy::beganExitFullScreen):
* UIProcess/efl/WebPageProxyEfl.cpp:
(WebKit::WebPageProxy::standardUserAgent):
(WebKit::WebPageProxy::getEditorCommandsForKeyEvent):
* WebProcess/Downloads/soup/DownloadSoup.cpp:
(WebKit::Download::start):
(WebKit::Download::startWithHandle):
(WebKit::Download::didDecideDestination):
(WebKit::Download::receivedCredential):
(WebKit::Download::receivedRequestToContinueWithoutCredential):
(WebKit::Download::receivedCancellation):
* WebProcess/Geolocation/WebGeolocationManager.cpp:
(WebKit::WebGeolocationManager::didChangePosition):
* WebProcess/IconDatabase/WebIconDatabaseProxy.cpp:
(WebKit::WebIconDatabaseProxy::synchronousIconForPageURL):
(WebKit::WebIconDatabaseProxy::synchronousIconURLForPageURL):
(WebKit::WebIconDatabaseProxy::synchronousIconDataKnownForIconURL):
(WebKit::WebIconDatabaseProxy::synchronousLoadDecisionForIconURL):
(WebKit::WebIconDatabaseProxy::iconDataForIconURL):
* WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
(WKBundleFrameCopyWebArchiveFilteringSubframes):
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKAccessibilityRootObject):
(WKAccessibilityFocusedObject):
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::setGeoLocationPermission):
(WebKit::InjectedBundle::didReceiveMessage):
(WebKit::InjectedBundle::webNotificationID):
* WebProcess/Notifications/WebNotificationManager.cpp:
(WebKit::WebNotificationManager::initialize):
(WebKit::WebNotificationManager::didUpdateNotificationDecision):
(WebKit::WebNotificationManager::didRemoveNotificationDecisions):
(WebKit::WebNotificationManager::policyForOrigin):
(WebKit::WebNotificationManager::notificationIDForTesting):
(WebKit::WebNotificationManager::show):
(WebKit::WebNotificationManager::cancel):
(WebKit::WebNotificationManager::clearNotifications):
(WebKit::WebNotificationManager::didDestroyNotification):
(WebKit::WebNotificationManager::didShowNotification):
(WebKit::WebNotificationManager::didClickNotification):
(WebKit::WebNotificationManager::didCloseNotifications):
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::paint):
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::addMessageToConsole):
(WebKit::WebChromeClient::contentsSizeChanged):
(WebKit::WebChromeClient::customHighlightRect):
(WebKit::WebChromeClient::paintCustomHighlight):
(WebKit::WebChromeClient::supportsFullScreenForElement):
* WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
(WebKit::WebContextMenuClient::downloadURL):
* WebProcess/WebCoreSupport/WebDragClient.cpp:
(WebKit::WebDragClient::dragSourceActionMaskForPoint):
* WebProcess/WebCoreSupport/WebEditorClient.cpp:
(WebKit::WebEditorClient::shouldEraseMarkersAfterChangeSelection):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
(WebKit::WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
(WebKit::WebFrameLoaderClient::shouldStopLoadingForHistoryItem):
(WebKit::WebFrameLoaderClient::canShowMIMEType):
(WebKit::WebFrameLoaderClient::canShowMIMETypeAsHTML):
(WebKit::WebFrameLoaderClient::representationExistsForURLScheme):
(WebKit::WebFrameLoaderClient::generatedMIMETypeForURLScheme):
(WebKit::WebFrameLoaderClient::createFrame):
(WebKit::WebFrameLoaderClient::createJavaAppletWidget):
(WebKit::WebFrameLoaderClient::registerForIconNotification):
* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
(WebKit::WebInspectorClient::drawRect):
* WebProcess/WebPage/DrawingArea.h:
(WebKit::DrawingArea::forceRepaintAsync):
(WebKit::DrawingArea::updateBackingStoreState):
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::mouseEvent):
* WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create):
* WebProcess/WebPage/LayerTreeHost.h:
(WebKit::LayerTreeHost::forceRepaintAsync):
* WebProcess/WebPage/TapHighlightController.cpp:
(WebKit::TapHighlightController::drawRect):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::getWebArchiveOfFrame):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::getSitesWithPluginData):
(WebKit::WebProcess::clearPluginSiteData):
* WebProcess/soup/WebKitSoupRequestGeneric.cpp:
(webkitSoupRequestGenericSendFinish):
* WebProcess/soup/WebKitSoupRequestInputStream.cpp:
(webkitSoupRequestInputStreamReadAsync):
(webkitSoupRequestInputStreamReadFinish):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129096 268f45cc-cd09-0410-ab3c-d52691b4dbfc

68 files changed:
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp
Source/WebKit/efl/WebCoreSupport/EditorClientEfl.cpp
Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp
Source/WebKit/efl/WebCoreSupport/FullscreenVideoControllerEfl.cpp
Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.cpp
Source/WebKit/efl/WebCoreSupport/PlatformStrategiesEfl.cpp
Source/WebKit/efl/ewk/ewk_auth_soup.cpp
Source/WebKit/efl/ewk/ewk_file_chooser.cpp
Source/WebKit/efl/ewk/ewk_frame.cpp
Source/WebKit/efl/ewk/ewk_js.cpp
Source/WebKit/efl/ewk/ewk_tiled_model.cpp
Source/WebKit/efl/ewk/ewk_view.cpp
Source/WebKit/efl/ewk/ewk_view_single.cpp
Source/WebKit/efl/ewk/ewk_view_tiled.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/FontInfo.cpp
Source/WebKit2/Shared/PlatformPopupMenuData.cpp
Source/WebKit2/Shared/SandboxExtension.h
Source/WebKit2/Shared/ShareableSurface.cpp
Source/WebKit2/Shared/WebMemorySampler.cpp
Source/WebKit2/UIProcess/API/C/WKPage.cpp
Source/WebKit2/UIProcess/API/C/WKPluginSiteDataManager.cpp
Source/WebKit2/UIProcess/API/C/WKPreferences.cpp
Source/WebKit2/UIProcess/API/efl/BatteryProvider.cpp
Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp
Source/WebKit2/UIProcess/API/efl/VibrationProvider.cpp
Source/WebKit2/UIProcess/API/efl/ewk_context_download_client.cpp
Source/WebKit2/UIProcess/API/efl/ewk_view.cpp
Source/WebKit2/UIProcess/API/efl/ewk_view_find_client.cpp
Source/WebKit2/UIProcess/API/efl/ewk_view_form_client.cpp
Source/WebKit2/UIProcess/API/efl/ewk_view_loader_client.cpp
Source/WebKit2/UIProcess/API/efl/ewk_view_policy_client.cpp
Source/WebKit2/UIProcess/DrawingAreaProxy.h
Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp
Source/WebKit2/UIProcess/FindIndicator.cpp
Source/WebKit2/UIProcess/GeolocationPermissionRequestManagerProxy.cpp
Source/WebKit2/UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp
Source/WebKit2/UIProcess/WebContext.cpp
Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp
Source/WebKit2/UIProcess/WebPageProxy.cpp
Source/WebKit2/UIProcess/WebProcessProxy.cpp
Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp
Source/WebKit2/UIProcess/efl/WebFullScreenManagerProxyEfl.cpp
Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
Source/WebKit2/WebProcess/Downloads/soup/DownloadSoup.cpp
Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp
Source/WebKit2/WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
Source/WebKit2/WebProcess/Notifications/WebNotificationManager.cpp
Source/WebKit2/WebProcess/Plugins/PluginView.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebDragClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebEditorClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.cpp
Source/WebKit2/WebProcess/WebPage/DrawingArea.h
Source/WebKit2/WebProcess/WebPage/FindController.cpp
Source/WebKit2/WebProcess/WebPage/LayerTreeHost.cpp
Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h
Source/WebKit2/WebProcess/WebPage/TapHighlightController.cpp
Source/WebKit2/WebProcess/WebPage/WebPage.cpp
Source/WebKit2/WebProcess/WebProcess.cpp
Source/WebKit2/WebProcess/soup/WebKitSoupRequestGeneric.cpp
Source/WebKit2/WebProcess/soup/WebKitSoupRequestInputStream.cpp

index a9cd773..6b8c960 100644 (file)
@@ -1,3 +1,94 @@
+2012-09-19  Jinwoo Song  <jinwoo7.song@samsung.com>
+
+        Fix unused parameter compile warnings in WebKit/WebKit2
+        https://bugs.webkit.org/show_bug.cgi?id=96742
+
+        Reviewed by Gyuyoung Kim.
+
+        Fix unused parameter compile warning messages(-Wunused-parameter) in WebKit during EFL build.
+        WebCore's warning messages were fixed in r128570.
+        * WebCoreSupport/ChromeClientEfl.cpp:
+        (WebCore::ChromeClientEfl::createWindow):
+        (WebCore::ChromeClientEfl::mouseDidMoveOverElement):
+        (WebCore::ChromeClientEfl::print):
+        (WebCore::ChromeClientEfl::reachedMaxAppCacheSize):
+        (WebCore::ChromeClientEfl::invalidateContents):
+        (WebCore::ChromeClientEfl::invalidateRootView):
+        (WebCore::ChromeClientEfl::invalidateContentsAndRootView):
+        * WebCoreSupport/EditorClientEfl.cpp:
+        (WebCore::EditorClientEfl::handleInputMethodKeydown):
+        (WebCore::EditorClientEfl::getGuessesForWord):
+        * WebCoreSupport/FrameLoaderClientEfl.cpp:
+        (WebCore::FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge):
+        (WebCore::FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge):
+        (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
+        (WebCore::FrameLoaderClientEfl::createFrame):
+        (WebCore::FrameLoaderClientEfl::createJavaAppletWidget):
+        (WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem):
+        (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML):
+        (WebCore::FrameLoaderClientEfl::setTitle):
+        (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength):
+        (WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache):
+        (WebCore::FrameLoaderClientEfl::setMainDocumentError):
+        * WebCoreSupport/FullscreenVideoControllerEfl.cpp:
+        (FullscreenVideoController::showHud):
+        (FullscreenVideoController::setVolume):
+        (FullscreenVideoController::setCurrentTime):
+        * WebCoreSupport/InspectorClientEfl.cpp:
+        (WebCore::notifyWebInspectorDestroy):
+        (WebCore::InspectorFrontendSettingsEfl::getProperty):
+        (WebCore::InspectorFrontendSettingsEfl::setProperty):
+        * WebCoreSupport/PlatformStrategiesEfl.cpp:
+        (PlatformStrategiesEfl::getPluginInfo):
+        * ewk/ewk_auth_soup.cpp:
+        (ewk_auth_soup_dialog_class_init):
+        (ewk_auth_soup_dialog_init):
+        (ewk_auth_soup_dialog_session_feature_init):
+        (session_authenticate):
+        * ewk/ewk_file_chooser.cpp:
+        (ewk_file_chooser_allows_directory_upload_get):
+        * ewk/ewk_frame.cpp:
+        (ewk_frame_feed_focus_out):
+        (ewk_frame_view_state_save):
+        (ewk_frame_plugin_create):
+        * ewk/ewk_js.cpp:
+        (ewk_js_object_new):
+        (ewk_js_object_free):
+        (ewk_js_object_view_get):
+        (ewk_js_object_properties_get):
+        (ewk_js_object_name_get):
+        (ewk_js_object_invoke):
+        (ewk_js_object_type_get):
+        (ewk_js_object_type_set):
+        (ewk_js_variant_free):
+        (ewk_js_variant_array_free):
+        * ewk/ewk_tiled_model.cpp:
+        (tile_account):
+        (_ewk_tile_account_allocated):
+        (_ewk_tile_account_freed):
+        * ewk/ewk_view.cpp:
+        (_ewk_view_smart_add_console_message):
+        (_ewk_view_smart_run_javascript_alert):
+        (_ewk_view_smart_run_javascript_confirm):
+        (_ewk_view_smart_should_interrupt_javascript):
+        (_ewk_view_smart_run_javascript_prompt):
+        (_ewk_view_smart_move):
+        (_ewk_view_smart_contents_resize):
+        (_ewk_view_editor_command_string_get):
+        (ewk_view_popup_new):
+        (ewk_view_js_object_add):
+        (ewk_view_accelerated_compositing_object_create):
+        (ewk_view_accelerated_compositing_context_get):
+        (ewk_view_setting_web_audio_get):
+        (ewk_view_setting_web_audio_set):
+        * ewk/ewk_view_single.cpp:
+        (_ewk_view_single_smart_bg_color_set):
+        * ewk/ewk_view_tiled.cpp:
+        (_ewk_view_tiled_updates_process_pre):
+        (_ewk_view_tiled_contents_size_changed_cb):
+        (_ewk_view_tiled_smart_bg_color_set):
+
 2012-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
 
         Unreviewed, rolling out r128995.
index 9d5cde5..f491d68 100644 (file)
@@ -154,7 +154,7 @@ void ChromeClientEfl::unfocus()
     evas_object_focus_set(m_view, EINA_FALSE);
 }
 
-Page* ChromeClientEfl::createWindow(Frame*, const FrameLoadRequest& frameLoadRequest, const WindowFeatures& features, const NavigationAction&)
+Page* ChromeClientEfl::createWindow(Frame*, const FrameLoadRequest&, const WindowFeatures& features, const NavigationAction&)
 {
     Evas_Object* newView = ewk_view_window_create(m_view, EINA_TRUE, &features);
     if (!newView)
@@ -361,7 +361,7 @@ void ChromeClientEfl::scrollbarsModeDidChange() const
 {
 }
 
-void ChromeClientEfl::mouseDidMoveOverElement(const HitTestResult& hit, unsigned modifierFlags)
+void ChromeClientEfl::mouseDidMoveOverElement(const HitTestResult& hit, unsigned /*modifierFlags*/)
 {
     // FIXME, compare with old link, look at Qt impl.
     bool isLink = hit.isLiveLink();
@@ -388,12 +388,12 @@ void ChromeClientEfl::setToolTip(const String& toolTip, TextDirection)
     ewk_view_tooltip_text_set(m_view, toolTip.utf8().data());
 }
 
-void ChromeClientEfl::print(Frame* frame)
+void ChromeClientEfl::print(Frame*)
 {
     notImplemented();
 }
 
-void ChromeClientEfl::reachedMaxAppCacheSize(int64_t spaceNeeded)
+void ChromeClientEfl::reachedMaxAppCacheSize(int64_t /*spaceNeeded*/)
 {
     // FIXME: Free some space.
     notImplemented();
@@ -514,17 +514,17 @@ void ChromeClientEfl::cancelGeolocationPermissionForFrame(Frame*, Geolocation*)
     notImplemented();
 }
 
-void ChromeClientEfl::invalidateContents(const IntRect& updateRect, bool immediate)
+void ChromeClientEfl::invalidateContents(const IntRect& /*updateRect*/, bool /*immediate*/)
 {
     notImplemented();
 }
 
-void ChromeClientEfl::invalidateRootView(const IntRect& updateRect, bool immediate)
+void ChromeClientEfl::invalidateRootView(const IntRect& /*updateRect*/, bool /*immediate*/)
 {
     notImplemented();
 }
 
-void ChromeClientEfl::invalidateContentsAndRootView(const IntRect& updateRect, bool immediate)
+void ChromeClientEfl::invalidateContentsAndRootView(const IntRect& updateRect, bool /*immediate*/)
 {
     if (updateRect.isEmpty())
         return;
index 1846cc5..d8a2113 100644 (file)
@@ -367,7 +367,7 @@ void EditorClientEfl::handleKeyboardEvent(KeyboardEvent* event)
         event->setDefaultHandled();
 }
 
-void EditorClientEfl::handleInputMethodKeydown(KeyboardEvent* event)
+void EditorClientEfl::handleInputMethodKeydown(KeyboardEvent*)
 {
 }
 
@@ -466,7 +466,7 @@ bool EditorClientEfl::spellingUIIsShowing()
     return false;
 }
 
-void EditorClientEfl::getGuessesForWord(const String& word, const String& context, Vector<String>& guesses)
+void EditorClientEfl::getGuessesForWord(const String& /*word*/, const String& /*context*/, Vector<String>& /*guesses*/)
 {
     notImplemented();
 }
index 1681712..4ffe5ac 100644 (file)
@@ -163,12 +163,12 @@ void FrameLoaderClientEfl::dispatchDidPopStateWithinPage()
     notImplemented();
 }
 
-void FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge(DocumentLoader*, unsigned long  identifier, const AuthenticationChallenge&)
+void FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge(DocumentLoader*, unsigned long /*identifier*/, const AuthenticationChallenge&)
 {
     notImplemented();
 }
 
-void FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge(DocumentLoader*, unsigned long  identifier, const AuthenticationChallenge&)
+void FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge(DocumentLoader*, unsigned long /*identifier*/, const AuthenticationChallenge&)
 {
     notImplemented();
 }
@@ -310,7 +310,7 @@ void FrameLoaderClientEfl::dispatchDecidePolicyForResponse(FramePolicyFunction f
         callPolicyFunction(function, PolicyDownload);
 }
 
-void FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction(FramePolicyFunction function, const NavigationAction& action, const ResourceRequest& resourceRequest, PassRefPtr<FormState>, const String&)
+void FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction(FramePolicyFunction function, const NavigationAction&, const ResourceRequest& resourceRequest, PassRefPtr<FormState>, const String&)
 {
     ASSERT(function);
     ASSERT(m_frame);
@@ -368,7 +368,7 @@ PassRefPtr<Widget> FrameLoaderClientEfl::createPlugin(const IntSize& pluginSize,
                                   mimeType, loadManually);
 }
 
-PassRefPtr<Frame> FrameLoaderClientEfl::createFrame(const KURL& url, const String& name, HTMLFrameOwnerElement* ownerElement, const String& referrer, bool allowsScrolling, int marginWidth, int marginHeight)
+PassRefPtr<Frame> FrameLoaderClientEfl::createFrame(const KURL& url, const String& name, HTMLFrameOwnerElement* ownerElement, const String& referrer, bool /*allowsScrolling*/, int /*marginWidth*/, int /*marginHeight*/)
 {
     ASSERT(m_frame);
     ASSERT(m_view);
@@ -383,8 +383,8 @@ void FrameLoaderClientEfl::redirectDataToPlugin(Widget* pluginWidget)
         m_hasSentResponseToPlugin = false;
 }
 
-PassRefPtr<Widget> FrameLoaderClientEfl::createJavaAppletWidget(const IntSize&, HTMLAppletElement*, const KURL& baseURL,
-                                                                const Vector<String>& paramNames, const Vector<String>& paramValues)
+PassRefPtr<Widget> FrameLoaderClientEfl::createJavaAppletWidget(const IntSize&, HTMLAppletElement*, const KURL&,
+                                                                const Vector<String>& /*paramNames*/, const Vector<String>& /*paramValues*/)
 {
     notImplemented();
     return 0;
@@ -544,7 +544,7 @@ bool FrameLoaderClientEfl::shouldGoToHistoryItem(HistoryItem* item) const
     return item;
 }
 
-bool FrameLoaderClientEfl::shouldStopLoadingForHistoryItem(HistoryItem* item) const
+bool FrameLoaderClientEfl::shouldStopLoadingForHistoryItem(HistoryItem*) const
 {
     return true;
 }
@@ -714,7 +714,7 @@ bool FrameLoaderClientEfl::canHandleRequest(const ResourceRequest&) const
     return true;
 }
 
-bool FrameLoaderClientEfl::canShowMIMETypeAsHTML(const String& MIMEType) const
+bool FrameLoaderClientEfl::canShowMIMETypeAsHTML(const String& /*MIMEType*/) const
 {
     notImplemented();
     return false;
@@ -771,12 +771,12 @@ void FrameLoaderClientEfl::prepareForDataSourceReplacement()
     notImplemented();
 }
 
-void FrameLoaderClientEfl::setTitle(const StringWithDirection& title, const KURL& url)
+void FrameLoaderClientEfl::setTitle(const StringWithDirection&, const KURL&)
 {
     // no need for, dispatchDidReceiveTitle is the right callback
 }
 
-void FrameLoaderClientEfl::dispatchDidReceiveContentLength(DocumentLoader*, unsigned long identifier, int dataLength)
+void FrameLoaderClientEfl::dispatchDidReceiveContentLength(DocumentLoader*, unsigned long /*identifier*/, int /*dataLength*/)
 {
     notImplemented();
 }
@@ -810,7 +810,7 @@ void FrameLoaderClientEfl::dispatchDidFailLoading(DocumentLoader*, unsigned long
     evas_object_smart_callback_call(m_view, "load,resource,failed", &error);
 }
 
-bool FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&, const ResourceResponse&, int length)
+bool FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&, const ResourceResponse&, int /*length*/)
 {
     notImplemented();
     return false;
@@ -941,7 +941,7 @@ void FrameLoaderClientEfl::dispatchUnableToImplementPolicy(const ResourceError&)
     notImplemented();
 }
 
-void FrameLoaderClientEfl::setMainDocumentError(DocumentLoader* loader, const ResourceError& error)
+void FrameLoaderClientEfl::setMainDocumentError(DocumentLoader*, const ResourceError& error)
 {
     if (!m_pluginView)
         return;
index 70deaef..27958f4 100644 (file)
@@ -58,7 +58,7 @@ void FullscreenVideoController::setMediaElement(HTMLMediaElement* mediaElement)
     }
 }
 
-void FullscreenVideoController::showHud(bool autoHide)
+void FullscreenVideoController::showHud(bool /*autoHide*/)
 {
     notImplemented();
 }
@@ -126,7 +126,7 @@ bool FullscreenVideoController::muted() const
     return false;
 }
 
-void FullscreenVideoController::setVolume(float volume)
+void FullscreenVideoController::setVolume(float /*volume*/)
 {
     notImplemented();
 }
@@ -147,7 +147,7 @@ float FullscreenVideoController::currentTime() const
     return 0;
 }
 
-void FullscreenVideoController::setCurrentTime(float value)
+void FullscreenVideoController::setCurrentTime(float /*value*/)
 {
     notImplemented();
 }
index 12afacb..701f306 100644 (file)
@@ -30,7 +30,7 @@
 
 namespace WebCore {
 
-static void notifyWebInspectorDestroy(void* userData, Evas_Object* webview, void* eventInfo)
+static void notifyWebInspectorDestroy(void* userData, Evas_Object* /*webview*/, void* /*eventInfo*/)
 {
     InspectorFrontendClientEfl* inspectorFrontendClient = static_cast<InspectorFrontendClientEfl*>(userData);
     if (inspectorFrontendClient)
@@ -50,13 +50,13 @@ static void invalidateView(Evas_Object* webView)
 
 class InspectorFrontendSettingsEfl : public InspectorFrontendClientLocal::Settings {
 public:
-    virtual String getProperty(const String& name)
+    virtual String getProperty(const String& /*name*/)
     {
         notImplemented();
         return String();
     }
 
-    virtual void setProperty(const String& name, const String& value)
+    virtual void setProperty(const String& /*name*/, const String& /*value*/)
     {
         notImplemented();
     }
index 5b40308..a76239e 100644 (file)
@@ -107,6 +107,9 @@ void PlatformStrategiesEfl::getPluginInfo(const Page* page, Vector<PluginInfo>&
 
         outPlugins.append(pluginInfo);
     }
+#else
+    UNUSED_PARAM(page);
+    UNUSED_PARAM(outPlugins);
 #endif
 }
 
index f54fb0e..3d3e93f 100644 (file)
@@ -49,15 +49,15 @@ static void free_auth_data(Ewk_Auth_Data*);
 G_DEFINE_TYPE_WITH_CODE(Ewk_Soup_Auth_Dialog, ewk_auth_soup_dialog, G_TYPE_OBJECT,
                         G_IMPLEMENT_INTERFACE(SOUP_TYPE_SESSION_FEATURE, ewk_auth_soup_dialog_session_feature_init))
 
-static void ewk_auth_soup_dialog_class_init(Ewk_Soup_Auth_DialogClass* klass)
+static void ewk_auth_soup_dialog_class_init(Ewk_Soup_Auth_DialogClass*)
 {
 }
 
-static void ewk_auth_soup_dialog_init(Ewk_Soup_Auth_Dialog* instance)
+static void ewk_auth_soup_dialog_init(Ewk_Soup_Auth_Dialog*)
 {
 }
 
-static void ewk_auth_soup_dialog_session_feature_init(SoupSessionFeatureInterface* featureInterface, gpointer interfaceData)
+static void ewk_auth_soup_dialog_session_feature_init(SoupSessionFeatureInterface* featureInterface, gpointer /*interfaceData*/)
 {
     featureInterface->attach = attach;
     featureInterface->detach = detach;
@@ -91,7 +91,7 @@ void ewk_auth_soup_credentials_set(const char* username, const char* password, v
     free_auth_data(authenticationData);
 }
 
-static void session_authenticate(SoupSession* session, SoupMessage* message, SoupAuth* auth, gboolean retrying, gpointer /* user_data */)
+static void session_authenticate(SoupSession* session, SoupMessage* message, SoupAuth* auth, gboolean /*retrying*/, gpointer /*user_data*/)
 {
     SoupURI* uri;
     Ewk_Auth_Data* authenticationData;
index 686bdc5..d152c79 100644 (file)
@@ -40,6 +40,7 @@ Eina_Bool ewk_file_chooser_allows_directory_upload_get(const Ewk_File_Chooser* c
     EINA_SAFETY_ON_NULL_RETURN_VAL(chooser, false);
     return chooser->fileChooser->settings().allowsDirectoryUpload;
 #else
+    UNUSED_PARAM(chooser);
     return false;
 #endif
 }
index 0af5d24..f243ca8 100644 (file)
@@ -881,7 +881,7 @@ Eina_Bool ewk_frame_feed_focus_in(Evas_Object* ewkFrame)
     return true;
 }
 
-Eina_Bool ewk_frame_feed_focus_out(Evas_Object* ewkFrame)
+Eina_Bool ewk_frame_feed_focus_out(Evas_Object*)
 {
     // TODO: what to do on focus out?
     ERR("what to do?");
@@ -1334,7 +1334,7 @@ void ewk_frame_did_perform_first_navigation(Evas_Object* ewkFrame)
  *
  * Emits signal: "state,save"
  */
-void ewk_frame_view_state_save(Evas_Object* ewkFrame, WebCore::HistoryItem* item)
+void ewk_frame_view_state_save(Evas_Object* ewkFrame, WebCore::HistoryItem*)
 {
     evas_object_smart_callback_call(ewkFrame, "state,save", 0);
 }
@@ -1844,6 +1844,15 @@ WTF::PassRefPtr<WebCore::Widget> ewk_frame_plugin_create(Evas_Object* ewkFrame,
 
     if (pluginView->status() == WebCore::PluginStatusLoadedSuccessfully)
         return pluginView.release();
+#else
+    UNUSED_PARAM(ewkFrame);
+    UNUSED_PARAM(pluginSize);
+    UNUSED_PARAM(element);
+    UNUSED_PARAM(url);
+    UNUSED_PARAM(paramNames);
+    UNUSED_PARAM(paramValues);
+    UNUSED_PARAM(mimeType);
+    UNUSED_PARAM(loadManually);
 #endif // #if ENABLE(NETSCAPE_PLUGIN_API)
     return 0;
 }
index bf4e4d7..aee8bba 100644 (file)
@@ -20,6 +20,8 @@
 #include "config.h"
 #include "ewk_js.h"
 
+#include <wtf/UnusedParam.h>
+
 #if ENABLE(NETSCAPE_PLUGIN_API)
 
 #include "NP_jsobject.h"
@@ -590,6 +592,7 @@ error:
     ewk_js_object_free(object);
     return 0;
 #else
+    UNUSED_PARAM(jsMetaClass);
     return 0;
 #endif
 }
@@ -610,6 +613,8 @@ void ewk_js_object_free(Ewk_JS_Object* jsObject)
 
     if (script_obj)
         free(jsObject);
+#else
+    UNUSED_PARAM(jsObject);
 #endif
 }
 
@@ -620,6 +625,7 @@ Evas_Object* ewk_js_object_view_get(const Ewk_JS_Object* jsObject)
     EINA_MAGIC_CHECK_OR_RETURN(jsObject, 0);
     return jsObject->view;
 #else
+    UNUSED_PARAM(jsObject);
     return 0;
 #endif
 }
@@ -631,6 +637,7 @@ Eina_Hash* ewk_js_object_properties_get(const Ewk_JS_Object* jsObject)
     EINA_MAGIC_CHECK_OR_RETURN(jsObject, 0);
     return jsObject->properties;
 #else
+    UNUSED_PARAM(jsObject);
     return 0;
 #endif
 }
@@ -642,6 +649,7 @@ const char* ewk_js_object_name_get(const Ewk_JS_Object* jsObject)
     EINA_MAGIC_CHECK_OR_RETURN(jsObject, 0);
     return jsObject->name;
 #else
+    UNUSED_PARAM(jsObject);
     return 0;
 #endif
 }
@@ -678,6 +686,10 @@ end:
     free(np_args);
     return fail;
 #else
+    UNUSED_PARAM(jsObject);
+    UNUSED_PARAM(args);
+    UNUSED_PARAM(argCount);
+    UNUSED_PARAM(result);
     return false;
 #endif
 }
@@ -690,6 +702,7 @@ Ewk_JS_Object_Type ewk_js_object_type_get(Ewk_JS_Object* jsObject)
 
     return jsObject->type;
 #else
+    UNUSED_PARAM(jsObject);
     return EWK_JS_OBJECT_INVALID;
 #endif
 }
@@ -701,6 +714,9 @@ void ewk_js_object_type_set(Ewk_JS_Object* jsObject, Ewk_JS_Object_Type type)
     EINA_MAGIC_CHECK_OR_RETURN(jsObject);
 
     jsObject->type = type;
+#else
+    UNUSED_PARAM(jsObject);
+    UNUSED_PARAM(type);
 #endif
 }
 
@@ -713,6 +729,8 @@ void ewk_js_variant_free(Ewk_JS_Variant* jsVariant)
     else if (jsVariant->type == EWK_JS_VARIANT_OBJECT)
         ewk_js_object_free(jsVariant->value.o);
     free(jsVariant);
+#else
+    UNUSED_PARAM(jsVariant);
 #endif
 }
 
@@ -727,5 +745,8 @@ void ewk_js_variant_array_free(Ewk_JS_Variant* jsVariant, int count)
             ewk_js_object_free(jsVariant[i].value.o);
     }
     free(jsVariant);
+#else
+    UNUSED_PARAM(jsVariant);
+    UNUSED_PARAM(count);
 #endif
 }
index 25b2686..ed009d9 100644 (file)
@@ -137,8 +137,8 @@ void ewk_tile_accounting_dbg()
 }
 #else
 
-static inline void _ewk_tile_account_allocated(const Ewk_Tile* tile) { }
-static inline void _ewk_tile_account_freed(const Ewk_Tile* tile) { }
+static inline void _ewk_tile_account_allocated(const Ewk_Tile*) { }
+static inline void _ewk_tile_account_freed(const Ewk_Tile*) { }
 
 void ewk_tile_accounting_dbg()
 {
index 4949aac..c080a0a 100644 (file)
@@ -617,31 +617,31 @@ static Eina_Bool _ewk_view_smart_key_up(Ewk_View_Smart_Data* smartData, const Ev
     return ewk_frame_feed_key_up(frame, upEvent);
 }
 
-static void _ewk_view_smart_add_console_message(Ewk_View_Smart_Data* smartData, const char* message, unsigned int lineNumber, const char* sourceID)
+static void _ewk_view_smart_add_console_message(Ewk_View_Smart_Data*, const char* message, unsigned int lineNumber, const char* sourceID)
 {
     INF("console message: %s @%d: %s\n", sourceID, lineNumber, message);
 }
 
-static void _ewk_view_smart_run_javascript_alert(Ewk_View_Smart_Data* smartData, Evas_Object* frame, const char* message)
+static void _ewk_view_smart_run_javascript_alert(Ewk_View_Smart_Data*, Evas_Object* /*frame*/, const char* message)
 {
     INF("javascript alert: %s\n", message);
 }
 
-static Eina_Bool _ewk_view_smart_run_javascript_confirm(Ewk_View_Smart_Data* smartData, Evas_Object* frame, const char* message)
+static Eina_Bool _ewk_view_smart_run_javascript_confirm(Ewk_View_Smart_Data*, Evas_Object* /*frame*/, const char* message)
 {
     INF("javascript confirm: %s", message);
     INF("javascript confirm (HARD CODED)? YES");
     return true;
 }
 
-static Eina_Bool _ewk_view_smart_should_interrupt_javascript(Ewk_View_Smart_Data* smartData)
+static Eina_Bool _ewk_view_smart_should_interrupt_javascript(Ewk_View_Smart_Data*)
 {
     INF("should interrupt javascript?\n"
         "\t(HARD CODED) NO");
     return false;
 }
 
-static Eina_Bool _ewk_view_smart_run_javascript_prompt(Ewk_View_Smart_Data* smartData, Evas_Object* frame, const char* message, const char* defaultValue, const char** value)
+static Eina_Bool _ewk_view_smart_run_javascript_prompt(Ewk_View_Smart_Data*, Evas_Object* /*frame*/, const char* message, const char* defaultValue, const char** value)
 {
     *value = eina_stringshare_add("test");
     Eina_Bool result = true;
@@ -1037,7 +1037,7 @@ static void _ewk_view_smart_resize(Evas_Object* ewkView, Evas_Coord w, Evas_Coor
     _ewk_view_smart_changed(smartData);
 }
 
-static void _ewk_view_smart_move(Evas_Object* ewkView, Evas_Coord x, Evas_Coord y)
+static void _ewk_view_smart_move(Evas_Object* ewkView, Evas_Coord /*x*/, Evas_Coord /*y*/)
 {
     EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
     smartData->changed.position = true;
@@ -1126,7 +1126,7 @@ static void _ewk_view_smart_hide(Evas_Object* ewkView)
     evas_object_hide(smartData->backing_store);
 }
 
-static Eina_Bool _ewk_view_smart_contents_resize(Ewk_View_Smart_Data* smartData, int width, int height)
+static Eina_Bool _ewk_view_smart_contents_resize(Ewk_View_Smart_Data*, int /*width*/, int /*height*/)
 {
     return true;
 }
@@ -1288,7 +1288,7 @@ static Eina_Bool _ewk_view_smart_enable_render(Ewk_View_Smart_Data* smartData)
     return false;
 }
 
-static const char* _ewk_view_editor_command_string_get(Ewk_View_Private_Data* priv, Ewk_Editor_Command ewkCommand)
+static const char* _ewk_view_editor_command_string_get(Ewk_View_Private_Data*, Ewk_Editor_Command ewkCommand)
 {
     static OwnPtr<Eina_Hash> editorCommandHash;
 
@@ -3750,7 +3750,7 @@ WTF::PassRefPtr<WebCore::Widget> ewk_view_plugin_create(Evas_Object* ewkView, Ev
  *
  * Emits: "popup,create" with a list of Ewk_Menu containing each item's data
  */
-void ewk_view_popup_new(Evas_Object* ewkView, WebCore::PopupMenuClient* client, int selected, const WebCore::IntRect& rect)
+void ewk_view_popup_new(Evas_Object* ewkView, WebCore::PopupMenuClient* client, int /*selected*/, const WebCore::IntRect& rect)
 {
     INF("ewkView=%p", ewkView);
     EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
@@ -4135,6 +4135,9 @@ Eina_Bool ewk_view_js_object_add(Evas_Object* ewkView, Ewk_JS_Object* object, co
     window->methodTable()->put(window, executeState, id, runtimeObject, slot);
     return true;
 #else
+    UNUSED_PARAM(ewkView);
+    UNUSED_PARAM(object);
+    UNUSED_PARAM(objectName);
     return false;
 #endif // ENABLE(NETSCAPE_PLUGIN_API)
 }
@@ -4475,13 +4478,13 @@ void ewk_view_web_inspector_view_set(Evas_Object* ewkView, Evas_Object* inspecto
 }
 
 #if USE(ACCELERATED_COMPOSITING)
-bool ewk_view_accelerated_compositing_object_create(Evas_Object* ewkView, Evas_Native_Surface* nativeSurface, const WebCore::IntRect& rect)
+bool ewk_view_accelerated_compositing_object_create(Evas_Object*, Evas_Native_Surface*, const WebCore::IntRect& /*rect*/)
 {
     notImplemented();
     return false;
 }
 
-WebCore::GraphicsContext3D* ewk_view_accelerated_compositing_context_get(Evas_Object* ewkView)
+WebCore::GraphicsContext3D* ewk_view_accelerated_compositing_context_get(Evas_Object*)
 {
     notImplemented();
     return 0;
@@ -4495,6 +4498,7 @@ Eina_Bool ewk_view_setting_web_audio_get(const Evas_Object* ewkView)
     EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
     return priv->settings.webAudio;
 #else
+    UNUSED_PARAM(ewkView);
     return false;
 #endif
 }
@@ -4510,6 +4514,8 @@ Eina_Bool ewk_view_setting_web_audio_set(Evas_Object* ewkView, Eina_Bool enable)
     }
     return true;
 #else
+    UNUSED_PARAM(ewkView);
+    UNUSED_PARAM(enable);
     return false;
 #endif
 }
index 419498b..2d0597d 100644 (file)
@@ -323,7 +323,7 @@ static void _ewk_view_single_smart_zoom_weak_smooth_scale_set(Ewk_View_Smart_Dat
     evas_object_image_smooth_scale_set(smartData->backing_store, smooth_scale);
 }
 
-static void _ewk_view_single_smart_bg_color_set(Ewk_View_Smart_Data* smartData, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha)
+static void _ewk_view_single_smart_bg_color_set(Ewk_View_Smart_Data* smartData, unsigned char /*red*/, unsigned char /*green*/, unsigned char /*blue*/, unsigned char alpha)
 {
     evas_object_image_alpha_set(smartData->backing_store, alpha < 255);
 }
index f404b29..f0a0e52 100644 (file)
@@ -46,7 +46,7 @@ static bool _ewk_view_tiled_render_cb(void* data, Ewk_Tile* tile, const Eina_Rec
     return result;
 }
 
-static void* _ewk_view_tiled_updates_process_pre(void* data, Evas_Object* ewkView)
+static void* _ewk_view_tiled_updates_process_pre(void* data, Evas_Object*)
 {
     Ewk_View_Private_Data* priv = static_cast<Ewk_View_Private_Data*>(data);
     ewk_view_layout_if_needed_recursive(priv);
@@ -63,7 +63,7 @@ static Evas_Object* _ewk_view_tiled_smart_backing_store_add(Ewk_View_Smart_Data*
 }
 
 static void
-_ewk_view_tiled_contents_size_changed_cb(void* data, Evas_Object* ewkView, void* eventInfo)
+_ewk_view_tiled_contents_size_changed_cb(void* data, Evas_Object*, void* eventInfo)
 {
     Evas_Coord* size = static_cast<Evas_Coord*>(eventInfo);
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
@@ -163,7 +163,7 @@ static void _ewk_view_tiled_smart_zoom_weak_smooth_scale_set(Ewk_View_Smart_Data
     ewk_tiled_backing_store_zoom_weak_smooth_scale_set(smartData->backing_store, smoothScale);
 }
 
-static void _ewk_view_tiled_smart_bg_color_set(Ewk_View_Smart_Data* smartData, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha)
+static void _ewk_view_tiled_smart_bg_color_set(Ewk_View_Smart_Data* smartData, unsigned char /*red*/, unsigned char /*green*/, unsigned char /*blue*/, unsigned char alpha)
 {
     ewk_tiled_backing_store_alpha_set(smartData->backing_store, alpha < 255);
 }
index b2c2a98..b031a80 100644 (file)
@@ -1,3 +1,190 @@
+2012-09-19  Jinwoo Song  <jinwoo7.song@samsung.com>
+
+        Fix unused parameter compile warnings in WebKit/WebKit2
+        https://bugs.webkit.org/show_bug.cgi?id=96742
+
+        Reviewed by Gyuyoung Kim.
+
+        Fix unused parameter compile warning messages(-Wunused-parameter) in WebKit2 during EFL build.
+        WebCore's warning messages were fixed in r128570.
+
+        * Shared/FontInfo.cpp:
+        (WebKit::FontInfo::encode):
+        (WebKit::FontInfo::decode):
+        * Shared/PlatformPopupMenuData.cpp:
+        (WebKit::PlatformPopupMenuData::encode):
+        (WebKit::PlatformPopupMenuData::decode):
+        * Shared/SandboxExtension.h:
+        (WebKit::SandboxExtension::createHandleForTemporaryFile):
+        * Shared/ShareableSurface.cpp:
+        (WebKit::ShareableSurface::create):
+        * Shared/WebMemorySampler.cpp:
+        (WebKit::WebMemorySampler::appendCurrentMemoryUsageToFile):
+        * UIProcess/API/C/WKPage.cpp:
+        (WKPageGetContentsAsMHTMLData):
+        * UIProcess/API/C/WKPluginSiteDataManager.cpp:
+        (WKPluginSiteDataManagerClearSiteData):
+        (WKPluginSiteDataManagerClearAllSiteData):
+        * UIProcess/API/C/WKPreferences.cpp:
+        (WKPreferencesSetHixie76WebSocketProtocolEnabled):
+        (WKPreferencesGetHixie76WebSocketProtocolEnabled):
+        * UIProcess/API/efl/BatteryProvider.cpp:
+        (startUpdatingCallback):
+        (stopUpdatingCallback):
+        * UIProcess/API/efl/PageClientImpl.cpp:
+        (WebKit::PageClientImpl::doneWithTouchEvent):
+        * UIProcess/API/efl/VibrationProvider.cpp:
+        (vibrateCallback):
+        (cancelVibrationCallback):
+        * UIProcess/API/efl/ewk_context_download_client.cpp:
+        (decideDestinationWithSuggestedFilename):
+        (didCreateDestination):
+        * UIProcess/API/efl/ewk_view.cpp:
+        (_ewk_view_on_focus_in):
+        (_ewk_view_on_focus_out):
+        (_ewk_view_on_mouse_wheel):
+        (_ewk_view_on_mouse_down):
+        (_ewk_view_on_mouse_up):
+        (_ewk_view_on_mouse_move):
+        (_ewk_view_on_key_down):
+        (_ewk_view_on_key_up):
+        (_ewk_view_smart_move):
+        (ewk_view_contents_size_changed):
+        * UIProcess/API/efl/ewk_view_find_client.cpp:
+        (didFindString):
+        * UIProcess/API/efl/ewk_view_form_client.cpp:
+        (willSubmitForm):
+        * UIProcess/API/efl/ewk_view_loader_client.cpp:
+        (didReceiveIntentForFrame):
+        (registerIntentServiceForFrame):
+        (didFinishLoadForFrame):
+        (didFailLoadWithErrorForFrame):
+        (didStartProvisionalLoadForFrame):
+        (didReceiveServerRedirectForProvisionalLoadForFrame):
+        (didFailProvisionalLoadWithErrorForFrame):
+        (didChangeBackForwardList):
+        * UIProcess/API/efl/ewk_view_policy_client.cpp:
+        (decidePolicyForNavigationAction):
+        (decidePolicyForNewWindowAction):
+        (decidePolicyForResponseCallback):
+        * UIProcess/DrawingAreaProxy.h:
+        (WebKit::DrawingAreaProxy::update):
+        (WebKit::DrawingAreaProxy::didUpdateBackingStoreState):
+        * UIProcess/DrawingAreaProxyImpl.cpp:
+        (WebKit::DrawingAreaProxyImpl::didUpdateBackingStoreState):
+        (WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
+        (WebKit::DrawingAreaProxyImpl::updateAcceleratedCompositingMode):
+        * UIProcess/FindIndicator.cpp:
+        (WebKit::FindIndicator::draw):
+        * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
+        (WebKit::GeolocationPermissionRequestManagerProxy::didReceiveGeolocationPermissionDecision):
+        * UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp:
+        (WebKit::PluginInfoStore::shouldUsePlugin):
+        * UIProcess/WebContext.cpp:
+        (WebKit::WebContext::setHTTPPipeliningEnabled):
+        * UIProcess/WebFullScreenManagerProxy.cpp:
+        (WebKit::WebFullScreenManagerProxy::supportsFullScreen):
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::sessionStateData):
+        (WebKit::WebPageProxy::recommendedScrollbarStyleDidChange):
+        (WebKit::WebPageProxy::didBlockInsecurePluginVersion):
+        * UIProcess/WebProcessProxy.cpp:
+        (WebKit::WebProcessProxy::createWebPage):
+        * UIProcess/efl/TextCheckerEfl.cpp:
+        (WebKit::TextChecker::continuousSpellCheckingEnabledStateChanged):
+        (WebKit::TextChecker::grammarCheckingEnabledStateChanged):
+        * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
+        (WebKit::WebFullScreenManagerProxy::beganEnterFullScreen):
+        (WebKit::WebFullScreenManagerProxy::beganExitFullScreen):
+        * UIProcess/efl/WebPageProxyEfl.cpp:
+        (WebKit::WebPageProxy::standardUserAgent):
+        (WebKit::WebPageProxy::getEditorCommandsForKeyEvent):
+        * WebProcess/Downloads/soup/DownloadSoup.cpp:
+        (WebKit::Download::start):
+        (WebKit::Download::startWithHandle):
+        (WebKit::Download::didDecideDestination):
+        (WebKit::Download::receivedCredential):
+        (WebKit::Download::receivedRequestToContinueWithoutCredential):
+        (WebKit::Download::receivedCancellation):
+        * WebProcess/Geolocation/WebGeolocationManager.cpp:
+        (WebKit::WebGeolocationManager::didChangePosition):
+        * WebProcess/IconDatabase/WebIconDatabaseProxy.cpp:
+        (WebKit::WebIconDatabaseProxy::synchronousIconForPageURL):
+        (WebKit::WebIconDatabaseProxy::synchronousIconURLForPageURL):
+        (WebKit::WebIconDatabaseProxy::synchronousIconDataKnownForIconURL):
+        (WebKit::WebIconDatabaseProxy::synchronousLoadDecisionForIconURL):
+        (WebKit::WebIconDatabaseProxy::iconDataForIconURL):
+        * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
+        (WKBundleFrameCopyWebArchiveFilteringSubframes):
+        * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
+        (WKAccessibilityRootObject):
+        (WKAccessibilityFocusedObject):
+        * WebProcess/InjectedBundle/InjectedBundle.cpp:
+        (WebKit::InjectedBundle::setGeoLocationPermission):
+        (WebKit::InjectedBundle::didReceiveMessage):
+        (WebKit::InjectedBundle::webNotificationID):
+        * WebProcess/Notifications/WebNotificationManager.cpp:
+        (WebKit::WebNotificationManager::initialize):
+        (WebKit::WebNotificationManager::didUpdateNotificationDecision):
+        (WebKit::WebNotificationManager::didRemoveNotificationDecisions):
+        (WebKit::WebNotificationManager::policyForOrigin):
+        (WebKit::WebNotificationManager::notificationIDForTesting):
+        (WebKit::WebNotificationManager::show):
+        (WebKit::WebNotificationManager::cancel):
+        (WebKit::WebNotificationManager::clearNotifications):
+        (WebKit::WebNotificationManager::didDestroyNotification):
+        (WebKit::WebNotificationManager::didShowNotification):
+        (WebKit::WebNotificationManager::didClickNotification):
+        (WebKit::WebNotificationManager::didCloseNotifications):
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::paint):
+        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+        (WebKit::WebChromeClient::addMessageToConsole):
+        (WebKit::WebChromeClient::contentsSizeChanged):
+        (WebKit::WebChromeClient::customHighlightRect):
+        (WebKit::WebChromeClient::paintCustomHighlight):
+        (WebKit::WebChromeClient::supportsFullScreenForElement):
+        * WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
+        (WebKit::WebContextMenuClient::downloadURL):
+        * WebProcess/WebCoreSupport/WebDragClient.cpp:
+        (WebKit::WebDragClient::dragSourceActionMaskForPoint):
+        * WebProcess/WebCoreSupport/WebEditorClient.cpp:
+        (WebKit::WebEditorClient::shouldEraseMarkersAfterChangeSelection):
+        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+        (WebKit::WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
+        (WebKit::WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
+        (WebKit::WebFrameLoaderClient::shouldStopLoadingForHistoryItem):
+        (WebKit::WebFrameLoaderClient::canShowMIMEType):
+        (WebKit::WebFrameLoaderClient::canShowMIMETypeAsHTML):
+        (WebKit::WebFrameLoaderClient::representationExistsForURLScheme):
+        (WebKit::WebFrameLoaderClient::generatedMIMETypeForURLScheme):
+        (WebKit::WebFrameLoaderClient::createFrame):
+        (WebKit::WebFrameLoaderClient::createJavaAppletWidget):
+        (WebKit::WebFrameLoaderClient::registerForIconNotification):
+        * WebProcess/WebCoreSupport/WebInspectorClient.cpp:
+        (WebKit::WebInspectorClient::drawRect):
+        * WebProcess/WebPage/DrawingArea.h:
+        (WebKit::DrawingArea::forceRepaintAsync):
+        (WebKit::DrawingArea::updateBackingStoreState):
+        * WebProcess/WebPage/FindController.cpp:
+        (WebKit::FindController::mouseEvent):
+        * WebProcess/WebPage/LayerTreeHost.cpp:
+        (WebKit::LayerTreeHost::create):
+        * WebProcess/WebPage/LayerTreeHost.h:
+        (WebKit::LayerTreeHost::forceRepaintAsync):
+        * WebProcess/WebPage/TapHighlightController.cpp:
+        (WebKit::TapHighlightController::drawRect):
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::getWebArchiveOfFrame):
+        * WebProcess/WebProcess.cpp:
+        (WebKit::WebProcess::getSitesWithPluginData):
+        (WebKit::WebProcess::clearPluginSiteData):
+        * WebProcess/soup/WebKitSoupRequestGeneric.cpp:
+        (webkitSoupRequestGenericSendFinish):
+        * WebProcess/soup/WebKitSoupRequestInputStream.cpp:
+        (webkitSoupRequestInputStreamReadAsync):
+        (webkitSoupRequestInputStreamReadFinish):
+
 2012-09-19  Pratik Solanki  <psolanki@apple.com>
 
         Warning in SandboxExtension.h if WEB_PROCESS_SANDBOX is not enabled
index 12cfd59..cd02630 100644 (file)
@@ -40,6 +40,8 @@ void FontInfo::encode(CoreIPC::ArgumentEncoder* encoder) const
     encoder->encode(static_cast<bool>(fontAttributeDictionary));
     if (fontAttributeDictionary)
         CoreIPC::encode(encoder, fontAttributeDictionary.get());
+#else
+    UNUSED_PARAM(encoder);
 #endif
 }
 
@@ -55,6 +57,9 @@ bool FontInfo::decode(CoreIPC::ArgumentDecoder* decoder, FontInfo& fontInfo)
 
     if (!CoreIPC::decode(decoder, fontInfo.fontAttributeDictionary))
         return false;
+#else
+    UNUSED_PARAM(decoder);
+    UNUSED_PARAM(fontInfo);
 #endif
     
     return true;
index b627afe..1decaac 100644 (file)
@@ -66,6 +66,8 @@ void PlatformPopupMenuData::encode(CoreIPC::ArgumentEncoder* encoder) const
     encoder->encode(shouldPopOver);
 #elif PLATFORM(QT)
     encoder->encode(multipleSelections);
+#else
+    UNUSED_PARAM(encoder);
 #endif
 }
 
@@ -102,6 +104,9 @@ bool PlatformPopupMenuData::decode(CoreIPC::ArgumentDecoder* decoder, PlatformPo
 #elif PLATFORM(QT)
     if (!decoder->decode(data.multipleSelections))
         return false;
+#else
+    UNUSED_PARAM(decoder);
+    UNUSED_PARAM(data);
 #endif
     
     return true;
index 936a389..4fdb1ed 100644 (file)
@@ -127,7 +127,7 @@ inline bool SandboxExtension::HandleArray::decode(CoreIPC::ArgumentDecoder*, Han
 inline PassRefPtr<SandboxExtension> SandboxExtension::create(const Handle&) { return 0; }
 inline void SandboxExtension::createHandle(const String&, Type, Handle&) { }
 inline void SandboxExtension::createHandleForReadWriteDirectory(const String&, Handle&) { }
-inline String SandboxExtension::createHandleForTemporaryFile(const String& prefix, Type type, Handle&) {return String();}
+inline String SandboxExtension::createHandleForTemporaryFile(const String& /*prefix*/, Type, Handle&) {return String();}
 inline SandboxExtension::~SandboxExtension() { }
 inline bool SandboxExtension::invalidate() { return true; }
 inline bool SandboxExtension::consume() { return true; }
index 228c0e5..43bd525 100644 (file)
@@ -77,6 +77,7 @@ PassRefPtr<ShareableSurface> ShareableSurface::create(const IntSize& size, Share
             return surface.release();
     }
 #endif
+    UNUSED_PARAM(hints);
 
     return create(size, flags, ShareableBitmap::createShareable(size, flags));
 }
index 868e848..344f7f5 100644 (file)
@@ -167,7 +167,7 @@ void WebMemorySampler::stopTimerFired(Timer<WebMemorySampler>*)
     stop();
 }
 
-void WebMemorySampler::appendCurrentMemoryUsageToFile(PlatformFileHandle& file)
+void WebMemorySampler::appendCurrentMemoryUsageToFile(PlatformFileHandle&)
 {
     // Collect statistics from allocators and get RSIZE metric
     StringBuilder statString;
index e24c2d6..b2ce4fc 100644 (file)
@@ -596,6 +596,11 @@ void WKPageGetContentsAsMHTMLData(WKPageRef pageRef, bool useBinaryEncoding, voi
 {
 #if ENABLE(MHTML)
     toImpl(pageRef)->getContentsAsMHTMLData(DataCallback::create(context, callback), useBinaryEncoding);
+#else
+    UNUSED_PARAM(pageRef);
+    UNUSED_PARAM(useBinaryEncoding);
+    UNUSED_PARAM(context);
+    UNUSED_PARAM(callback);
 #endif
 }
 
index e3024e7..179610b 100644 (file)
@@ -63,6 +63,13 @@ void WKPluginSiteDataManagerClearSiteData(WKPluginSiteDataManagerRef managerRef,
 {
 #if ENABLE(NETSCAPE_PLUGIN_API)
     toImpl(managerRef)->clearSiteData(toImpl(sitesRef), toNPClearSiteDataFlags(flags), maxAgeInSeconds, VoidCallback::create(context, function));
+#else
+    UNUSED_PARAM(managerRef);
+    UNUSED_PARAM(sitesRef);
+    UNUSED_PARAM(flags);
+    UNUSED_PARAM(maxAgeInSeconds);
+    UNUSED_PARAM(context);
+    UNUSED_PARAM(function);
 #endif
 }
 
@@ -70,5 +77,9 @@ void WKPluginSiteDataManagerClearAllSiteData(WKPluginSiteDataManagerRef managerR
 {
 #if ENABLE(NETSCAPE_PLUGIN_API)
     toImpl(managerRef)->clearSiteData(0, NP_CLEAR_ALL, numeric_limits<uint64_t>::max(), VoidCallback::create(context, function));
+#else
+    UNUSED_PARAM(managerRef);
+    UNUSED_PARAM(context);
+    UNUSED_PARAM(function);
 #endif
 }
index 862e2d1..8c09965 100644 (file)
@@ -648,11 +648,11 @@ bool WKPreferencesGetFileAccessFromFileURLsAllowed(WKPreferencesRef preferencesR
     return toImpl(preferencesRef)->allowFileAccessFromFileURLs();
 }
 
-void WKPreferencesSetHixie76WebSocketProtocolEnabled(WKPreferencesRef preferencesRef, bool enabled)
+void WKPreferencesSetHixie76WebSocketProtocolEnabled(WKPreferencesRef, bool /*enabled*/)
 {
 }
 
-bool WKPreferencesGetHixie76WebSocketProtocolEnabled(WKPreferencesRef preferencesRef)
+bool WKPreferencesGetHixie76WebSocketProtocolEnabled(WKPreferencesRef)
 {
     return false;
 }
index 18c9e14..83cc371 100644 (file)
@@ -40,12 +40,12 @@ static inline BatteryProvider* toBatteryProvider(const void* clientInfo)
     return static_cast<BatteryProvider*>(const_cast<void*>(clientInfo));
 }
 
-static void startUpdatingCallback(WKBatteryManagerRef batteryManager, const void* clientInfo)
+static void startUpdatingCallback(WKBatteryManagerRef, const void* clientInfo)
 {
     toBatteryProvider(clientInfo)->startUpdating();
 }
 
-static void stopUpdatingCallback(WKBatteryManagerRef batteryManager, const void* clientInfo)
+static void stopUpdatingCallback(WKBatteryManagerRef, const void* clientInfo)
 {
     toBatteryProvider(clientInfo)->stopUpdating();
 }
index c8ce09f..1006339 100644 (file)
@@ -194,7 +194,7 @@ void PageClientImpl::doneWithKeyEvent(const NativeWebKeyboardEvent&, bool)
 }
 
 #if ENABLE(TOUCH_EVENTS)
-void PageClientImpl::doneWithTouchEvent(const NativeWebTouchEvent&, bool wasEventHandled)
+void PageClientImpl::doneWithTouchEvent(const NativeWebTouchEvent&, bool /*wasEventHandled*/)
 {
     notImplemented();
 }
index a969106..29fb6a4 100644 (file)
@@ -55,12 +55,12 @@ static inline VibrationProvider* toVibrationProvider(const void* clientInfo)
     return static_cast<VibrationProvider*>(const_cast<void*>(clientInfo));
 }
 
-static void vibrateCallback(WKVibrationRef vibrationRef, uint64_t vibrationTime, const void* clientInfo)
+static void vibrateCallback(WKVibrationRef, uint64_t vibrationTime, const void* clientInfo)
 {
     toVibrationProvider(clientInfo)->vibrate(vibrationTime);
 }
 
-static void cancelVibrationCallback(WKVibrationRef vibrationRef, const void* clientInfo)
+static void cancelVibrationCallback(WKVibrationRef, const void* clientInfo)
 {
     toVibrationProvider(clientInfo)->cancelVibration();
 }
index 1cb7e17..9d924bf 100644 (file)
@@ -48,7 +48,7 @@ static inline Ewk_Context* toEwkContext(const void* clientInfo)
     return static_cast<Ewk_Context*>(const_cast<void*>(clientInfo));
 }
 
-static WKStringRef decideDestinationWithSuggestedFilename(WKContextRef, WKDownloadRef wkDownload, WKStringRef filename, bool* allowOverwrite, const void* clientInfo)
+static WKStringRef decideDestinationWithSuggestedFilename(WKContextRef, WKDownloadRef wkDownload, WKStringRef filename, bool* /*allowOverwrite*/, const void* clientInfo)
 {
     Ewk_Download_Job* download = ewk_context_download_job_get(toEwkContext(clientInfo), toImpl(wkDownload)->downloadID());
     ASSERT(download);
@@ -74,7 +74,7 @@ static void didReceiveResponse(WKContextRef, WKDownloadRef wkDownload, WKURLResp
     ewk_url_response_unref(response);
 }
 
-static void didCreateDestination(WKContextRef, WKDownloadRef wkDownload, WKStringRef path, const void* clientInfo)
+static void didCreateDestination(WKContextRef, WKDownloadRef wkDownload, WKStringRef /*path*/, const void* clientInfo)
 {
     Ewk_Download_Job* download = ewk_context_download_job_get(toEwkContext(clientInfo), toImpl(wkDownload)->downloadID());
     ASSERT(download);
index 5f08786..99d93ae 100644 (file)
@@ -281,7 +281,7 @@ static Eina_Bool _ewk_view_smart_key_up(Ewk_View_Smart_Data* smartData, const Ev
 }
 
 // Event Handling.
-static void _ewk_view_on_focus_in(void* data, Evas* canvas, Evas_Object* ewkView, void* eventInfo)
+static void _ewk_view_on_focus_in(void* data, Evas*, Evas_Object*, void* /*eventInfo*/)
 {
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
     EINA_SAFETY_ON_NULL_RETURN(smartData->api);
@@ -289,7 +289,7 @@ static void _ewk_view_on_focus_in(void* data, Evas* canvas, Evas_Object* ewkView
     smartData->api->focus_in(smartData);
 }
 
-static void _ewk_view_on_focus_out(void* data, Evas* canvas, Evas_Object* ewkView, void* eventInfo)
+static void _ewk_view_on_focus_out(void* data, Evas*, Evas_Object*, void* /*eventInfo*/)
 {
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
     EINA_SAFETY_ON_NULL_RETURN(smartData->api);
@@ -297,7 +297,7 @@ static void _ewk_view_on_focus_out(void* data, Evas* canvas, Evas_Object* ewkVie
     smartData->api->focus_out(smartData);
 }
 
-static void _ewk_view_on_mouse_wheel(void* data, Evas* canvas, Evas_Object* ewkView, void* eventInfo)
+static void _ewk_view_on_mouse_wheel(void* data, Evas*, Evas_Object*, void* eventInfo)
 {
     Evas_Event_Mouse_Wheel* wheelEvent = static_cast<Evas_Event_Mouse_Wheel*>(eventInfo);
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
@@ -306,7 +306,7 @@ static void _ewk_view_on_mouse_wheel(void* data, Evas* canvas, Evas_Object* ewkV
     smartData->api->mouse_wheel(smartData, wheelEvent);
 }
 
-static void _ewk_view_on_mouse_down(void* data, Evas* canvas, Evas_Object* ewkView, void* eventInfo)
+static void _ewk_view_on_mouse_down(void* data, Evas*, Evas_Object*, void* eventInfo)
 {
     Evas_Event_Mouse_Down* downEvent = static_cast<Evas_Event_Mouse_Down*>(eventInfo);
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
@@ -315,7 +315,7 @@ static void _ewk_view_on_mouse_down(void* data, Evas* canvas, Evas_Object* ewkVi
     smartData->api->mouse_down(smartData, downEvent);
 }
 
-static void _ewk_view_on_mouse_up(void* data, Evas* canvas, Evas_Object* ewkView, void* eventInfo)
+static void _ewk_view_on_mouse_up(void* data, Evas*, Evas_Object*, void* eventInfo)
 {
     Evas_Event_Mouse_Up* upEvent = static_cast<Evas_Event_Mouse_Up*>(eventInfo);
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
@@ -324,7 +324,7 @@ static void _ewk_view_on_mouse_up(void* data, Evas* canvas, Evas_Object* ewkView
     smartData->api->mouse_up(smartData, upEvent);
 }
 
-static void _ewk_view_on_mouse_move(void* data, Evas* canvas, Evas_Object* ewkView, void* eventInfo)
+static void _ewk_view_on_mouse_move(void* data, Evas*, Evas_Object*, void* eventInfo)
 {
     Evas_Event_Mouse_Move* moveEvent = static_cast<Evas_Event_Mouse_Move*>(eventInfo);
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
@@ -333,7 +333,7 @@ static void _ewk_view_on_mouse_move(void* data, Evas* canvas, Evas_Object* ewkVi
     smartData->api->mouse_move(smartData, moveEvent);
 }
 
-static void _ewk_view_on_key_down(void* data, Evas* canvas, Evas_Object* ewkView, void* eventInfo)
+static void _ewk_view_on_key_down(void* data, Evas*, Evas_Object*, void* eventInfo)
 {
     Evas_Event_Key_Down* downEvent = static_cast<Evas_Event_Key_Down*>(eventInfo);
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
@@ -342,7 +342,7 @@ static void _ewk_view_on_key_down(void* data, Evas* canvas, Evas_Object* ewkView
     smartData->api->key_down(smartData, downEvent);
 }
 
-static void _ewk_view_on_key_up(void* data, Evas* canvas, Evas_Object* ewkView, void* eventInfo)
+static void _ewk_view_on_key_up(void* data, Evas*, Evas_Object*, void* eventInfo)
 {
     Evas_Event_Key_Up* upEvent = static_cast<Evas_Event_Key_Up*>(eventInfo);
     Ewk_View_Smart_Data* smartData = static_cast<Ewk_View_Smart_Data*>(data);
@@ -452,7 +452,7 @@ static void _ewk_view_smart_resize(Evas_Object* ewkView, Evas_Coord width, Evas_
     _ewk_view_smart_changed(smartData);
 }
 
-static void _ewk_view_smart_move(Evas_Object* ewkView, Evas_Coord x, Evas_Coord y)
+static void _ewk_view_smart_move(Evas_Object* ewkView, Evas_Coord /*x*/, Evas_Coord /*y*/)
 {
     EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
 
@@ -1531,6 +1531,9 @@ void ewk_view_contents_size_changed(const Evas_Object* ewkView, const IntSize& s
     EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
 
     priv->viewportHandler->didChangeContentsSize(size);
+#else
+    UNUSED_PARAM(ewkView);
+    UNUSED_PARAM(size);
 #endif
 }
 
index 2a0daca..637e7ae 100644 (file)
@@ -34,7 +34,7 @@ static inline Evas_Object* toEwkView(const void* clientInfo)
     return static_cast<Evas_Object*>(const_cast<void*>(clientInfo));
 }
 
-static void didFindString(WKPageRef page, WKStringRef string, unsigned matchCount, const void* clientInfo)
+static void didFindString(WKPageRef, WKStringRef /*string*/, unsigned matchCount, const void* clientInfo)
 {
     ewk_view_text_found(toEwkView(clientInfo), static_cast<unsigned int>(matchCount));
 }
index 264ac5e..37cc9bf 100644 (file)
@@ -31,7 +31,7 @@
 #include "ewk_view_form_client_private.h"
 #include "ewk_view_private.h"
 
-static void willSubmitForm(WKPageRef page, WKFrameRef frame, WKFrameRef sourceFrame, WKDictionaryRef values, WKTypeRef userData, WKFormSubmissionListenerRef listener, const void* clientInfo)
+static void willSubmitForm(WKPageRef, WKFrameRef /*frame*/, WKFrameRef /*sourceFrame*/, WKDictionaryRef values, WKTypeRef /*userData*/, WKFormSubmissionListenerRef listener, const void* clientInfo)
 {
     Evas_Object* ewkView = static_cast<Evas_Object*>(const_cast<void*>(clientInfo));
 
index 2deb38e..ab6680a 100644 (file)
@@ -50,7 +50,7 @@ static void didReceiveTitleForFrame(WKPageRef, WKStringRef title, WKFrameRef fra
 }
 
 #if ENABLE(WEB_INTENTS)
-static void didReceiveIntentForFrame(WKPageRef page, WKFrameRef frame, WKIntentDataRef intent, WKTypeRef, const void* clientInfo)
+static void didReceiveIntentForFrame(WKPageRef, WKFrameRef, WKIntentDataRef intent, WKTypeRef, const void* clientInfo)
 {
     Evas_Object* ewkView = static_cast<Evas_Object*>(const_cast<void*>(clientInfo));
     Ewk_Intent* ewkIntent = ewk_intent_new(intent);
@@ -60,7 +60,7 @@ static void didReceiveIntentForFrame(WKPageRef page, WKFrameRef frame, WKIntentD
 #endif
 
 #if ENABLE(WEB_INTENTS_TAG)
-static void registerIntentServiceForFrame(WKPageRef page, WKFrameRef frame, WKIntentServiceInfoRef serviceInfo, WKTypeRef, const void *clientInfo)
+static void registerIntentServiceForFrame(WKPageRef, WKFrameRef, WKIntentServiceInfoRef serviceInfo, WKTypeRef, const void *clientInfo)
 {
     Evas_Object* ewkView = static_cast<Evas_Object*>(const_cast<void*>(clientInfo));
     Ewk_Intent_Service* ewkIntentService = ewk_intent_service_new(serviceInfo);
@@ -75,7 +75,7 @@ static void didChangeProgress(WKPageRef page, const void* clientInfo)
     ewk_view_load_progress_changed(ewkView, WKPageGetEstimatedProgress(page));
 }
 
-static void didFinishLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void *clientInfo)
+static void didFinishLoadForFrame(WKPageRef, WKFrameRef frame, WKTypeRef /*userData*/, const void *clientInfo)
 {
     if (!WKFrameIsMainFrame(frame))
         return;
@@ -84,7 +84,7 @@ static void didFinishLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef us
     ewk_view_load_finished(ewkView);
 }
 
-static void didFailLoadWithErrorForFrame(WKPageRef page, WKFrameRef frame, WKErrorRef error, WKTypeRef, const void *clientInfo)
+static void didFailLoadWithErrorForFrame(WKPageRef, WKFrameRef frame, WKErrorRef error, WKTypeRef, const void *clientInfo)
 {
     if (!WKFrameIsMainFrame(frame))
         return;
@@ -96,7 +96,7 @@ static void didFailLoadWithErrorForFrame(WKPageRef page, WKFrameRef frame, WKErr
     ewk_web_error_free(ewkError);
 }
 
-static void didStartProvisionalLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
+static void didStartProvisionalLoadForFrame(WKPageRef, WKFrameRef frame, WKTypeRef /*userData*/, const void* clientInfo)
 {
     if (!WKFrameIsMainFrame(frame))
         return;
@@ -105,7 +105,7 @@ static void didStartProvisionalLoadForFrame(WKPageRef page, WKFrameRef frame, WK
     ewk_view_load_provisional_started(ewkView);
 }
 
-static void didReceiveServerRedirectForProvisionalLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
+static void didReceiveServerRedirectForProvisionalLoadForFrame(WKPageRef, WKFrameRef frame, WKTypeRef /*userData*/, const void* clientInfo)
 {
     if (!WKFrameIsMainFrame(frame))
         return;
@@ -114,7 +114,7 @@ static void didReceiveServerRedirectForProvisionalLoadForFrame(WKPageRef page, W
     ewk_view_load_provisional_redirect(ewkView);
 }
 
-static void didFailProvisionalLoadWithErrorForFrame(WKPageRef page, WKFrameRef frame, WKErrorRef error, WKTypeRef userData, const void* clientInfo)
+static void didFailProvisionalLoadWithErrorForFrame(WKPageRef, WKFrameRef frame, WKErrorRef error, WKTypeRef, const void* clientInfo)
 {
     if (!WKFrameIsMainFrame(frame))
         return;
@@ -125,7 +125,7 @@ static void didFailProvisionalLoadWithErrorForFrame(WKPageRef page, WKFrameRef f
     ewk_web_error_free(ewkError);
 }
 
-static void didChangeBackForwardList(WKPageRef page, WKBackForwardListItemRef addedItem, WKArrayRef removedItems, const void* clientInfo)
+static void didChangeBackForwardList(WKPageRef, WKBackForwardListItemRef addedItem, WKArrayRef removedItems, const void* clientInfo)
 {
     Evas_Object* ewkView = static_cast<Evas_Object*>(const_cast<void*>(clientInfo));
     ASSERT(ewkView);
index cf3b85e..cf2f10e 100644 (file)
@@ -42,21 +42,21 @@ static inline Evas_Object* toEwkView(const void* clientInfo)
     return static_cast<Evas_Object*>(const_cast<void*>(clientInfo));
 }
 
-static void decidePolicyForNavigationAction(WKPageRef page, WKFrameRef frame, WKFrameNavigationType navigationType, WKEventModifiers modifiers, WKEventMouseButton mouseButton, WKURLRequestRef request, WKFramePolicyListenerRef listener, WKTypeRef userData, const void* clientInfo)
+static void decidePolicyForNavigationAction(WKPageRef, WKFrameRef, WKFrameNavigationType navigationType, WKEventModifiers modifiers, WKEventMouseButton mouseButton, WKURLRequestRef request, WKFramePolicyListenerRef listener, WKTypeRef /*userData*/, const void* clientInfo)
 {
     Ewk_Navigation_Policy_Decision* decision = ewk_navigation_policy_decision_new(navigationType, mouseButton, modifiers, request, 0, listener);
     ewk_view_navigation_policy_decision(toEwkView(clientInfo), decision);
     ewk_navigation_policy_decision_unref(decision);
 }
 
-static void decidePolicyForNewWindowAction(WKPageRef page, WKFrameRef frame, WKFrameNavigationType navigationType, WKEventModifiers modifiers, WKEventMouseButton mouseButton, WKURLRequestRef request, WKStringRef frameName, WKFramePolicyListenerRef listener, WKTypeRef userData, const void* clientInfo)
+static void decidePolicyForNewWindowAction(WKPageRef, WKFrameRef, WKFrameNavigationType navigationType, WKEventModifiers modifiers, WKEventMouseButton mouseButton, WKURLRequestRef request, WKStringRef frameName, WKFramePolicyListenerRef listener, WKTypeRef /*userData*/, const void* clientInfo)
 {
     Ewk_Navigation_Policy_Decision* decision = ewk_navigation_policy_decision_new(navigationType, mouseButton, modifiers, request, toImpl(frameName)->string().utf8().data(), listener);
     ewk_view_new_window_policy_decision(toEwkView(clientInfo), decision);
     ewk_navigation_policy_decision_unref(decision);
 }
 
-static void decidePolicyForResponseCallback(WKPageRef page, WKFrameRef frame, WKURLResponseRef response, WKURLRequestRef, WKFramePolicyListenerRef listener, WKTypeRef userData, const void* clientInfo)
+static void decidePolicyForResponseCallback(WKPageRef, WKFrameRef frame, WKURLResponseRef response, WKURLRequestRef, WKFramePolicyListenerRef listener, WKTypeRef /*userData*/, const void* /*clientInfo*/)
 {
     const ResourceResponse resourceResponse = toImpl(response)->resourceResponse();
 
index 5c2d508..437a2cf 100644 (file)
@@ -122,8 +122,8 @@ private:
 
     // CoreIPC message handlers.
     // FIXME: These should be pure virtual.
-    virtual void update(uint64_t backingStoreStateID, const UpdateInfo&) { }
-    virtual void didUpdateBackingStoreState(uint64_t backingStoreStateID, const UpdateInfo&, const LayerTreeContext&) { }
+    virtual void update(uint64_t /*backingStoreStateID*/, const UpdateInfo&) { }
+    virtual void didUpdateBackingStoreState(uint64_t /*backingStoreStateID*/, const UpdateInfo&, const LayerTreeContext&) { }
 #if USE(ACCELERATED_COMPOSITING)
     virtual void enterAcceleratedCompositingMode(uint64_t backingStoreStateID, const LayerTreeContext&) { }
     virtual void exitAcceleratedCompositingMode(uint64_t backingStoreStateID, const UpdateInfo&) { }
index cd9cafc..baf6470 100644 (file)
@@ -215,6 +215,8 @@ void DrawingAreaProxyImpl::didUpdateBackingStoreState(uint64_t backingStoreState
         ASSERT(!m_backingStore);
         return;
     }
+#else
+    UNUSED_PARAM(layerTreeContext);
 #endif
 
     // If we have a backing store the right size, reuse it.
@@ -231,6 +233,8 @@ void DrawingAreaProxyImpl::enterAcceleratedCompositingMode(uint64_t backingStore
 
 #if USE(ACCELERATED_COMPOSITING)
     enterAcceleratedCompositingMode(layerTreeContext);
+#else
+    UNUSED_PARAM(layerTreeContext);
 #endif
 }
 
@@ -255,6 +259,8 @@ void DrawingAreaProxyImpl::updateAcceleratedCompositingMode(uint64_t backingStor
 
 #if USE(ACCELERATED_COMPOSITING)
     updateAcceleratedCompositingMode(layerTreeContext);
+#else
+    UNUSED_PARAM(layerTreeContext);
 #endif
 }
 
index e3dfe6f..2ad193f 100644 (file)
@@ -173,7 +173,7 @@ static Path pathWithRoundedRect(const FloatRect& pathRect, float radius)
     return path;
 }
     
-void FindIndicator::draw(GraphicsContext& graphicsContext, const IntRect& dirtyRect)
+void FindIndicator::draw(GraphicsContext& graphicsContext, const IntRect& /*dirtyRect*/)
 {
     for (size_t i = 0; i < m_textRectsInSelectionRectCoordinates.size(); ++i) {
         FloatRect textRect = m_textRectsInSelectionRectCoordinates[i];
index 71beaf5..eb06c29 100644 (file)
@@ -65,6 +65,8 @@ void GeolocationPermissionRequestManagerProxy::didReceiveGeolocationPermissionDe
 
 #if ENABLE(GEOLOCATION)
     m_page->process()->send(Messages::WebPage::DidReceiveGeolocationPermissionDecision(geolocationID, allowed), m_page->pageID());
+#else
+    UNUSED_PARAM(allowed);
 #endif
 
     m_pendingRequests.remove(it);
index aa44998..afaed6d 100644 (file)
@@ -104,7 +104,7 @@ bool PluginInfoStore::getPluginInfo(const String& pluginPath, PluginModuleInfo&
 #endif
 }
 
-bool PluginInfoStore::shouldUsePlugin(Vector<PluginModuleInfo>& alreadyLoadedPlugins, const PluginModuleInfo& plugin)
+bool PluginInfoStore::shouldUsePlugin(Vector<PluginModuleInfo>& /*alreadyLoadedPlugins*/, const PluginModuleInfo& /*plugin*/)
 {
     // We do not do any black-listing presently.
     return true;
index 9adb608..fbdc6b3 100644 (file)
@@ -944,6 +944,8 @@ void WebContext::setHTTPPipeliningEnabled(bool enabled)
 {
 #if PLATFORM(MAC)
     ResourceRequest::setHTTPPipeliningEnabled(enabled);
+#else
+    UNUSED_PARAM(enabled);
 #endif
 }
 
index bb1bd60..9dc13bc 100644 (file)
@@ -94,7 +94,7 @@ void WebFullScreenManagerProxy::requestExitFullScreen()
     m_page->process()->send(Messages::WebFullScreenManager::RequestExitFullScreen(), m_page->pageID());
 }
 
-void WebFullScreenManagerProxy::supportsFullScreen(bool withKeyboard, bool& supports)
+void WebFullScreenManagerProxy::supportsFullScreen(bool /*withKeyboard*/, bool& supports)
 {
     supports = true;
 }
index 8fd72a0..9bbabe1 100644 (file)
@@ -1352,7 +1352,7 @@ void WebPageProxy::terminateProcess()
 }
 
 #if !USE(CF) || defined(BUILDING_QT__)
-PassRefPtr<WebData> WebPageProxy::sessionStateData(WebPageProxySessionStateFilterCallback, void* context) const
+PassRefPtr<WebData> WebPageProxy::sessionStateData(WebPageProxySessionStateFilterCallback, void* /*context*/) const
 {
     // FIXME: Return session state data for saving Page state.
     return 0;
@@ -3815,6 +3815,8 @@ void WebPageProxy::recommendedScrollbarStyleDidChange(int32_t newStyle)
 {
 #if PLATFORM(MAC)
     m_pageClient->recommendedScrollbarStyleDidChange(newStyle);
+#else
+    UNUSED_PARAM(newStyle);
 #endif
 }
 
@@ -3853,6 +3855,8 @@ void WebPageProxy::didBlockInsecurePluginVersion(const String& mimeType, const S
 
     pluginIdentifier = plugin.bundleIdentifier;
     pluginVersion = plugin.versionString;
+#else
+    UNUSED_PARAM(urlString);
 #endif
 
     m_loaderClient.didBlockInsecurePluginVersion(this, newMimeType, pluginIdentifier, pluginVersion);
index 22a2b7f..13ca474 100644 (file)
@@ -181,7 +181,7 @@ WebPageProxy* WebProcessProxy::webPage(uint64_t pageID) const
     return m_pageMap.get(pageID);
 }
 
-PassRefPtr<WebPageProxy> WebProcessProxy::createWebPage(PageClient* pageClient, WebContext* context, WebPageGroup* pageGroup)
+PassRefPtr<WebPageProxy> WebProcessProxy::createWebPage(PageClient* pageClient, WebContext*, WebPageGroup* pageGroup)
 {
     uint64_t pageID = generatePageID();
     RefPtr<WebPageProxy> webPage = WebPageProxy::create(pageClient, this, pageGroup, pageID);
index aa33f2f..75a8a99 100644 (file)
@@ -57,12 +57,12 @@ void TextChecker::setGrammarCheckingEnabled(bool)
     notImplemented();
 }
 
-void TextChecker::continuousSpellCheckingEnabledStateChanged(bool enabled)
+void TextChecker::continuousSpellCheckingEnabledStateChanged(bool /*enabled*/)
 {
     notImplemented();
 }
 
-void TextChecker::grammarCheckingEnabledStateChanged(bool enabled)
+void TextChecker::grammarCheckingEnabledStateChanged(bool /*enabled*/)
 {
     notImplemented();
 }
index f000c15..254340d 100644 (file)
@@ -71,12 +71,12 @@ void WebFullScreenManagerProxy::exitFullScreen()
     didExitFullScreen();
 }
 
-void WebFullScreenManagerProxy::beganEnterFullScreen(const IntRect& initialFrame, const IntRect& finalFrame)
+void WebFullScreenManagerProxy::beganEnterFullScreen(const IntRect& /*initialFrame*/, const IntRect& /*finalFrame*/)
 {
     notImplemented();
 }
 
-void WebFullScreenManagerProxy::beganExitFullScreen(const IntRect& initialFrame, const IntRect& finalFrame)
+void WebFullScreenManagerProxy::beganExitFullScreen(const IntRect& /*initialFrame*/, const IntRect& /*finalFrame*/)
 {
     notImplemented();
 }
index 94dc44b..2a3b307 100644 (file)
@@ -41,7 +41,7 @@ Evas_Object* WebPageProxy::viewWidget()
     return static_cast<PageClientImpl*>(m_pageClient)->viewWidget();
 }
 
-String WebPageProxy::standardUserAgent(const String& applicationNameForUserAgent)
+String WebPageProxy::standardUserAgent(const String& /*applicationNameForUserAgent*/)
 {
     WTF::String platform;
     WTF::String version;
@@ -63,7 +63,7 @@ String WebPageProxy::standardUserAgent(const String& applicationNameForUserAgent
         + " (KHTML, like Gecko) Version/5.0 Safari/" + version;
 }
 
-void WebPageProxy::getEditorCommandsForKeyEvent(Vector<WTF::String>& commandsList)
+void WebPageProxy::getEditorCommandsForKeyEvent(Vector<WTF::String>& /*commandsList*/)
 {
     notImplemented();
 }
index 81500b5..38117eb 100644 (file)
@@ -137,7 +137,7 @@ public:
     GRefPtr<SoupMessage> m_response;
 };
 
-void Download::start(WebPage* initiatingWebPage)
+void Download::start(WebPage*)
 {
     ASSERT(!m_downloadClient);
     ASSERT(!m_resourceHandle);
@@ -146,7 +146,7 @@ void Download::start(WebPage* initiatingWebPage)
     didStart();
 }
 
-void Download::startWithHandle(WebPage* initiatingPage, ResourceHandle* resourceHandle, const ResourceResponse&)
+void Download::startWithHandle(WebPage*, ResourceHandle* resourceHandle, const ResourceResponse&)
 {
     ASSERT(!m_downloadClient);
     ASSERT(!m_resourceHandle);
@@ -179,7 +179,7 @@ void Download::platformInvalidate()
     m_downloadClient.release();
 }
 
-void Download::didDecideDestination(const String& destination, bool allowOverwrite)
+void Download::didDecideDestination(const String& /*destination*/, bool /*allowOverwrite*/)
 {
     notImplemented();
 }
@@ -189,17 +189,17 @@ void Download::platformDidFinish()
     m_resourceHandle = 0;
 }
 
-void Download::receivedCredential(const AuthenticationChallenge& authenticationChallenge, const Credential& credential)
+void Download::receivedCredential(const AuthenticationChallenge&, const Credential&)
 {
     notImplemented();
 }
 
-void Download::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge& authenticationChallenge)
+void Download::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&)
 {
     notImplemented();
 }
 
-void Download::receivedCancellation(const AuthenticationChallenge& authenticationChallenge)
+void Download::receivedCancellation(const AuthenticationChallenge&)
 {
     notImplemented();
 }
index 1bdf11d..691844a 100644 (file)
@@ -83,6 +83,8 @@ void WebGeolocationManager::didChangePosition(const WebGeolocationPosition::Data
         if (page->corePage())
             GeolocationController::from(page->corePage())->positionChanged(position.get());
     }
+#else
+    UNUSED_PARAM(data);
 #endif // ENABLE(GEOLOCATION)
 }
 
index 0207791..217f1e8 100644 (file)
@@ -72,7 +72,7 @@ void WebIconDatabaseProxy::releaseIconForPageURL(const String& pageURL)
     m_process->connection()->send(Messages::WebIconDatabase::ReleaseIconForPageURL(pageURL), 0);
 }
 
-Image* WebIconDatabaseProxy::synchronousIconForPageURL(const String& pageURL, const IntSize& size)
+Image* WebIconDatabaseProxy::synchronousIconForPageURL(const String& pageURL, const IntSize& /*size*/)
 {
     CoreIPC::DataReference result;
     if (!m_process->connection()->sendSync(Messages::WebIconDatabase::SynchronousIconDataForPageURL(pageURL), Messages::WebIconDatabase::SynchronousIconDataForPageURL::Reply(result), 0))
@@ -83,21 +83,21 @@ Image* WebIconDatabaseProxy::synchronousIconForPageURL(const String& pageURL, co
 }
 
 
-String WebIconDatabaseProxy::synchronousIconURLForPageURL(const String& pageURL)
+String WebIconDatabaseProxy::synchronousIconURLForPageURL(const String& /*pageURL*/)
 {
     // FIXME: This needs to ask the UI process for the iconURL, but it can't do so synchronously because it will slow down page loading.
     // The parts in WebCore that need this data will have to be changed to work asycnchronously.
     return String();
 }
 
-bool WebIconDatabaseProxy::synchronousIconDataKnownForIconURL(const String& iconURL)
+bool WebIconDatabaseProxy::synchronousIconDataKnownForIconURL(const String& /*iconURL*/)
 {
     // FIXME: This needs to ask the UI process for the iconURL, but it can't do so synchronously because it will slow down page loading.
     // The parts in WebCore that need this data will have to be changed to work asycnchronously.
     return false;
 }
 
-IconLoadDecision WebIconDatabaseProxy::synchronousLoadDecisionForIconURL(const String& iconURL, DocumentLoader* documentLoader)
+IconLoadDecision WebIconDatabaseProxy::synchronousLoadDecisionForIconURL(const String& /*iconURL*/, DocumentLoader*)
 {
     // FIXME: This needs to ask the UI process for the iconURL, but it can't do so synchronously because it will slow down page loading.
     // The parts in WebCore that need this data will have to be changed to work asycnchronously.
@@ -124,7 +124,7 @@ void WebIconDatabaseProxy::receivedIconLoadDecision(int decision, uint64_t callb
         callback->performCallback(static_cast<WebCore::IconLoadDecision>(decision));
 }
 
-void WebIconDatabaseProxy::iconDataForIconURL(const String& iconURL, PassRefPtr<WebCore::IconDataCallback> callback)
+void WebIconDatabaseProxy::iconDataForIconURL(const String& /*iconURL*/, PassRefPtr<WebCore::IconDataCallback>)
 {
 }
 
index 895be23..9a2b9fc 100644 (file)
@@ -263,6 +263,10 @@ WKDataRef WKBundleFrameCopyWebArchiveFilteringSubframes(WKBundleFrameRef frameRe
     RetainPtr<CFDataRef> data = toImpl(frameRef)->webArchiveData(frameFilterCallback, context);
     if (data)
         return WKDataCreate(CFDataGetBytePtr(data.get()), CFDataGetLength(data.get()));
+#else
+    UNUSED_PARAM(frameRef);
+    UNUSED_PARAM(frameFilterCallback);
+    UNUSED_PARAM(context);
 #endif
     
     return 0;
index 91d0ad8..18247b6 100644 (file)
@@ -166,6 +166,7 @@ void* WKAccessibilityRootObject(WKBundlePageRef pageRef)
     
     return root->wrapper();
 #else
+    UNUSED_PARAM(pageRef);
     return 0;
 #endif
 }
@@ -188,6 +189,7 @@ void* WKAccessibilityFocusedObject(WKBundlePageRef pageRef)
     
     return focusedObject->wrapper();
 #else
+    UNUSED_PARAM(pageRef);
     return 0;
 #endif
 }
index a1ba347..206f47e 100644 (file)
@@ -254,6 +254,9 @@ void InjectedBundle::setGeoLocationPermission(WebPageGroupProxy* pageGroup, bool
     const HashSet<Page*>& pages = PageGroup::pageGroup(pageGroup->identifier())->pages();
     for (HashSet<Page*>::iterator iter = pages.begin(); iter != pages.end(); ++iter)
         static_cast<GeolocationClientMock*>(GeolocationController::from(*iter)->client())->setPermission(enabled);
+#else
+    UNUSED_PARAM(pageGroup);
+    UNUSED_PARAM(enabled);
 #endif // ENABLE(GEOLOCATION)
 }
 
@@ -549,7 +552,7 @@ void InjectedBundle::didReceiveMessageToPage(WebPage* page, const String& messag
     m_client.didReceiveMessageToPage(this, page, messageName, messageBody);
 }
 
-void InjectedBundle::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageID messageID, CoreIPC::ArgumentDecoder* arguments)
+void InjectedBundle::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID messageID, CoreIPC::ArgumentDecoder* arguments)
 {
     switch (messageID.get<InjectedBundleMessage::Kind>()) {
         case InjectedBundleMessage::PostMessage: {
@@ -644,6 +647,8 @@ uint64_t InjectedBundle::webNotificationID(JSContextRef jsContext, JSValueRef js
         return 0;
     return WebProcess::shared().notificationManager().notificationIDForTesting(notification);
 #else
+    UNUSED_PARAM(jsContext);
+    UNUSED_PARAM(jsNotification);
     return 0;
 #endif
 }
index e6e2cd4..ea39736 100644 (file)
@@ -71,6 +71,8 @@ void WebNotificationManager::initialize(const HashMap<String, bool>& permissions
 {
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
     m_permissionsMap = permissions;
+#else
+    UNUSED_PARAM(permissions);
 #endif
 }
 
@@ -78,6 +80,9 @@ void WebNotificationManager::didUpdateNotificationDecision(const String& originS
 {
 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
     m_permissionsMap.set(originString, allowed);
+#else
+    UNUSED_PARAM(originString);
+    UNUSED_PARAM(allowed);
 #endif
 }
 
@@ -87,6 +92,8 @@ void WebNotificationManager::didRemoveNotificationDecisions(const Vector<String>
     size_t count = originStrings.size();
     for (size_t i = 0; i < count; ++i)
         m_permissionsMap.remove(originStrings[i]);
+#else
+    UNUSED_PARAM(originStrings);
 #endif
 }
 
@@ -100,6 +107,8 @@ NotificationClient::Permission WebNotificationManager::policyForOrigin(WebCore::
     HashMap<String, bool>::const_iterator it = m_permissionsMap.find(origin->toRawString());
     if (it != m_permissionsMap.end())
         return it->second ? NotificationClient::PermissionAllowed : NotificationClient::PermissionDenied;
+#else
+    UNUSED_PARAM(origin);
 #endif
     
     return NotificationClient::PermissionNotAllowed;
@@ -119,6 +128,7 @@ uint64_t WebNotificationManager::notificationIDForTesting(Notification* notifica
         return 0;
     return m_notificationMap.get(notification);
 #else
+    UNUSED_PARAM(notification);
     return 0;
 #endif
 }
@@ -143,6 +153,8 @@ bool WebNotificationManager::show(Notification* notification, WebPage* page)
 #endif
     return true;
 #else
+    UNUSED_PARAM(notification);
+    UNUSED_PARAM(page);
     return false;
 #endif
 }
@@ -158,6 +170,9 @@ void WebNotificationManager::cancel(Notification* notification, WebPage* page)
         return;
     
     m_process->connection()->send(Messages::WebNotificationManagerProxy::Cancel(notificationID), page->pageID());
+#else
+    UNUSED_PARAM(notification);
+    UNUSED_PARAM(page);
 #endif
 }
 
@@ -180,6 +195,9 @@ void WebNotificationManager::clearNotifications(WebCore::ScriptExecutionContext*
     }
     
     m_notificationContextMap.remove(it);
+#else
+    UNUSED_PARAM(context);
+    UNUSED_PARAM(page);
 #endif
 }
 
@@ -193,6 +211,9 @@ void WebNotificationManager::didDestroyNotification(Notification* notification,
     m_notificationIDMap.remove(notificationID);
     removeNotificationFromContextMap(notificationID, notification);
     m_process->connection()->send(Messages::WebNotificationManagerProxy::DidDestroyNotification(notificationID), page->pageID());
+#else
+    UNUSED_PARAM(notification);
+    UNUSED_PARAM(page);
 #endif
 }
 
@@ -207,6 +228,8 @@ void WebNotificationManager::didShowNotification(uint64_t notificationID)
         return;
 
     notification->dispatchShowEvent();
+#else
+    UNUSED_PARAM(notificationID);
 #endif
 }
 
@@ -221,6 +244,8 @@ void WebNotificationManager::didClickNotification(uint64_t notificationID)
         return;
 
     notification->dispatchClickEvent();
+#else
+    UNUSED_PARAM(notificationID);
 #endif
 }
 
@@ -242,6 +267,8 @@ void WebNotificationManager::didCloseNotifications(const Vector<uint64_t>& notif
 
         notification->dispatchCloseEvent();
     }
+#else
+    UNUSED_PARAM(notificationIDs);
 #endif
 }
 
index fc06486..40a0d7a 100644 (file)
@@ -641,7 +641,7 @@ void PluginView::setFrameRect(const WebCore::IntRect& rect)
     viewGeometryDidChange();
 }
 
-void PluginView::paint(GraphicsContext* context, const IntRect& dirtyRect)
+void PluginView::paint(GraphicsContext* context, const IntRect& /*dirtyRect*/)
 {
     if (!m_plugin || !m_isInitialized)
         return;
index ea670a4..dbcab8d 100644 (file)
@@ -263,7 +263,7 @@ void WebChromeClient::setResizable(bool resizable)
     m_page->send(Messages::WebPageProxy::SetIsResizable(resizable));
 }
 
-void WebChromeClient::addMessageToConsole(MessageSource, MessageType, MessageLevel, const String& message, unsigned int lineNumber, const String& sourceID)
+void WebChromeClient::addMessageToConsole(MessageSource, MessageType, MessageLevel, const String& message, unsigned int lineNumber, const String& /*sourceID*/)
 {
     // Notify the bundle client.
     m_page->injectedBundleUIClient().willAddMessageToConsole(m_page, message, lineNumber);
@@ -428,7 +428,7 @@ PlatformPageClient WebChromeClient::platformPageClient() const
     return 0;
 }
 
-void WebChromeClient::contentsSizeChanged(Frame* frame, const IntSize& size) const
+void WebChromeClient::contentsSizeChanged(Frame* frame, const IntSize& /*size*/) const
 {
     if (!m_page->corePage()->settings()->frameFlatteningEnabled()) {
         WebFrame* largestFrame = findLargestFrameInFrameSet(m_page);
@@ -572,14 +572,14 @@ void WebChromeClient::populateVisitedLinks()
 {
 }
 
-FloatRect WebChromeClient::customHighlightRect(Node*, const AtomicString& type, const FloatRect& lineRect)
+FloatRect WebChromeClient::customHighlightRect(Node*, const AtomicString& /*type*/, const FloatRect& /*lineRect*/)
 {
     notImplemented();
     return FloatRect();
 }
 
-void WebChromeClient::paintCustomHighlight(Node*, const AtomicString& type, const FloatRect& boxRect, const FloatRect& lineRect,
-                                  bool behindText, bool entireLine)
+void WebChromeClient::paintCustomHighlight(Node*, const AtomicString& /*type*/, const FloatRect& /*boxRect*/, const FloatRect& /*lineRect*/, 
+                                           bool /*behindText*/, bool /*entireLine*/)
 {
     notImplemented();
 }
@@ -735,7 +735,7 @@ void WebChromeClient::setLastSetCursorToCurrentCursor()
 #endif
 
 #if ENABLE(FULLSCREEN_API)
-bool WebChromeClient::supportsFullScreenForElement(const WebCore::Element* element, bool withKeyboard)
+bool WebChromeClient::supportsFullScreenForElement(const WebCore::Element*, bool withKeyboard)
 {
     return m_page->fullScreenManager()->supportsFullScreen(withKeyboard);
 }
index 3624ca9..29c7e2e 100644 (file)
@@ -66,7 +66,7 @@ void WebContextMenuClient::contextMenuItemSelected(ContextMenuItem*, const Conte
     notImplemented();
 }
 
-void WebContextMenuClient::downloadURL(const KURL& url)
+void WebContextMenuClient::downloadURL(const KURL&)
 {
     // This is handled in the UI process.
     ASSERT_NOT_REACHED();
index 184e680..d56a030 100644 (file)
@@ -51,7 +51,7 @@ DragDestinationAction WebDragClient::actionMaskForDrag(DragData*)
     return DragDestinationActionAny;
 }
 
-DragSourceAction WebDragClient::dragSourceActionMaskForPoint(const IntPoint& windowPoint)
+DragSourceAction WebDragClient::dragSourceActionMaskForPoint(const IntPoint& /*windowPoint*/)
 {
     return DragSourceActionAny;
 }
index baf68f0..fe4e9d3 100644 (file)
@@ -397,6 +397,7 @@ bool WebEditorClient::shouldEraseMarkersAfterChangeSelection(WebCore::TextChecki
 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
     return type != TextCheckingTypeSpelling;
 #else
+    UNUSED_PARAM(type);
     return true;
 #endif
 }
index 6a80193..9640eda 100644 (file)
@@ -210,7 +210,7 @@ void WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge(DocumentLoa
     AuthenticationManager::shared().didReceiveAuthenticationChallenge(m_frame, challenge);
 }
 
-void WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge(DocumentLoader*, unsigned long identifier, const AuthenticationChallenge&)    
+void WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge(DocumentLoader*, unsigned long /*identifier*/, const AuthenticationChallenge&)    
 {
     notImplemented();
 }
@@ -273,7 +273,7 @@ void WebFrameLoaderClient::dispatchDidFailLoading(DocumentLoader*, unsigned long
     webPage->send(Messages::WebPageProxy::DidFailLoadForResource(m_frame->frameID(), identifier, error));
 }
 
-bool WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&, const ResourceResponse&, int length)
+bool WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&, const ResourceResponse&, int /*length*/)
 {
     notImplemented();
     return false;
@@ -1000,7 +1000,7 @@ bool WebFrameLoaderClient::shouldGoToHistoryItem(HistoryItem* item) const
     return shouldGoToBackForwardListItem;
 }
 
-bool WebFrameLoaderClient::shouldStopLoadingForHistoryItem(HistoryItem* item) const
+bool WebFrameLoaderClient::shouldStopLoadingForHistoryItem(HistoryItem*) const
 {
     return true;
 }
@@ -1106,24 +1106,24 @@ bool WebFrameLoaderClient::canHandleRequest(const ResourceRequest&) const
     return true;
 }
 
-bool WebFrameLoaderClient::canShowMIMEType(const String& MIMEType) const
+bool WebFrameLoaderClient::canShowMIMEType(const String& /*MIMEType*/) const
 {
     notImplemented();
     return true;
 }
 
-bool WebFrameLoaderClient::canShowMIMETypeAsHTML(const String& MIMEType) const
+bool WebFrameLoaderClient::canShowMIMETypeAsHTML(const String& /*MIMEType*/) const
 {
     return true;
 }
 
-bool WebFrameLoaderClient::representationExistsForURLScheme(const String& URLScheme) const
+bool WebFrameLoaderClient::representationExistsForURLScheme(const String& /*URLScheme*/) const
 {
     notImplemented();
     return false;
 }
 
-String WebFrameLoaderClient::generatedMIMETypeForURLScheme(const String& URLScheme) const
+String WebFrameLoaderClient::generatedMIMETypeForURLScheme(const String& /*URLScheme*/) const
 {
     notImplemented();
     return String();
@@ -1287,7 +1287,7 @@ void WebFrameLoaderClient::download(ResourceHandle* handle, const ResourceReques
 }
 
 PassRefPtr<Frame> WebFrameLoaderClient::createFrame(const KURL& url, const String& name, HTMLFrameOwnerElement* ownerElement,
-                                                    const String& referrer, bool allowsScrolling, int marginWidth, int marginHeight)
+                                                    const String& referrer, bool /*allowsScrolling*/, int /*marginWidth*/, int /*marginHeight*/)
 {
     WebPage* webPage = m_frame->page();
 
@@ -1360,7 +1360,7 @@ void WebFrameLoaderClient::redirectDataToPlugin(Widget* pluginWidget)
     m_pluginView = static_cast<PluginView*>(pluginWidget);
 }
 
-PassRefPtr<Widget> WebFrameLoaderClient::createJavaAppletWidget(const IntSize& pluginSize, HTMLAppletElement* appletElement, const KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& paramValues)
+PassRefPtr<Widget> WebFrameLoaderClient::createJavaAppletWidget(const IntSize& pluginSize, HTMLAppletElement* appletElement, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValues)
 {
     RefPtr<Widget> plugin = createPlugin(pluginSize, appletElement, KURL(), paramNames, paramValues, appletElement->serviceType(), false);
     if (!plugin) {
@@ -1514,7 +1514,7 @@ void WebFrameLoaderClient::didPerformFirstNavigation() const
     notImplemented();
 }
 
-void WebFrameLoaderClient::registerForIconNotification(bool listen)
+void WebFrameLoaderClient::registerForIconNotification(bool /*listen*/)
 {
     notImplemented();
 }
index 2c30b72..048c257 100644 (file)
@@ -122,7 +122,7 @@ void WebInspectorClient::didMoveToWebPage(PageOverlay*, WebPage*)
 {
 }
 
-void WebInspectorClient::drawRect(PageOverlay* overlay, WebCore::GraphicsContext& context, const WebCore::IntRect& dirtyRect)
+void WebInspectorClient::drawRect(PageOverlay*, WebCore::GraphicsContext& context, const WebCore::IntRect& /*dirtyRect*/)
 {
     m_page->corePage()->inspectorController()->drawHighlight(context);
 }
index 9c7212a..6178e85 100644 (file)
@@ -70,7 +70,7 @@ public:
     // FIXME: These should be pure virtual.
     virtual void pageBackgroundTransparencyChanged() { }
     virtual void forceRepaint() { }
-    virtual bool forceRepaintAsync(uint64_t callbackID) { return false; }
+    virtual bool forceRepaintAsync(uint64_t /*callbackID*/) { return false; }
     virtual void setLayerTreeStateIsFrozen(bool) { }
     virtual bool layerTreeStateIsFrozen() const { return false; }
     virtual LayerTreeHost* layerTreeHost() const { return 0; }
@@ -110,7 +110,8 @@ protected:
 private:
     // CoreIPC message handlers.
     // FIXME: These should be pure virtual.
-    virtual void updateBackingStoreState(uint64_t backingStoreStateID, bool respondImmediately, float deviceScaleFactor, const WebCore::IntSize& size, const WebCore::IntSize& scrollOffset) { }
+    virtual void updateBackingStoreState(uint64_t /*backingStoreStateID*/, bool /*respondImmediately*/, float /*deviceScaleFactor*/, const WebCore::IntSize& /*size*/, 
+                                         const WebCore::IntSize& /*scrollOffset*/) { }
     virtual void didUpdate() { }
     virtual void suspendPainting() { }
     virtual void resumePainting() { }
index a3d1d8f..533ac2b 100644 (file)
@@ -367,7 +367,7 @@ void FindController::drawRect(PageOverlay* pageOverlay, GraphicsContext& graphic
     }
 }
 
-bool FindController::mouseEvent(PageOverlay* pageOverlay, const WebMouseEvent& mouseEvent)
+bool FindController::mouseEvent(PageOverlay*, const WebMouseEvent& mouseEvent)
 {
     // If we get a mouse down event inside the page overlay we should hide the find UI.
     if (mouseEvent.type() == WebEvent::MouseDown) {
index 87b46b3..7d590a1 100644 (file)
@@ -57,6 +57,7 @@ PassRefPtr<LayerTreeHost> LayerTreeHost::create(WebPage* webPage)
 #elif PLATFORM(GTK) && USE(TEXTURE_MAPPER_GL)
     return LayerTreeHostGtk::create(webPage);
 #else
+    UNUSED_PARAM(webPage);
     return 0;
 #endif
 }
index 9beeb3d..8d3bb94 100644 (file)
@@ -73,7 +73,7 @@ public:
     virtual void setNonCompositedContentsNeedDisplay(const WebCore::IntRect&) = 0;
     virtual void scrollNonCompositedContents(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset) = 0;
     virtual void forceRepaint() = 0;
-    virtual bool forceRepaintAsync(uint64_t callbackID) { return false; }
+    virtual bool forceRepaintAsync(uint64_t /*callbackID*/) { return false; }
     virtual void sizeDidChange(const WebCore::IntSize& newSize) = 0;
     virtual void deviceScaleFactorDidChange() = 0;
 
index 60b9c97..039f310 100644 (file)
@@ -97,7 +97,7 @@ static Color highlightColor(Color baseColor, float fractionFadedIn)
     return Color(baseColor.red(), baseColor.green(), baseColor.blue(), int(baseColor.alpha() * fractionFadedIn));
 }
 
-void TapHighlightController::drawRect(PageOverlay* pageOverlay, GraphicsContext& context, const IntRect& dirtyRect)
+void TapHighlightController::drawRect(PageOverlay* pageOverlay, GraphicsContext& context, const IntRect& /*dirtyRect*/)
 {
     if (m_path.isEmpty())
         return;
index 915140f..3ac838d 100644 (file)
@@ -1954,6 +1954,8 @@ void WebPage::getWebArchiveOfFrame(uint64_t frameID, uint64_t callbackID)
         if ((data = frame->webArchiveData(0, 0)))
             dataReference = CoreIPC::DataReference(CFDataGetBytePtr(data.get()), CFDataGetLength(data.get()));
     }
+#else
+    UNUSED_PARAM(frameID);
 #endif
 
     send(Messages::WebPageProxy::DataCallback(dataReference, callbackID));
index f9267c6..de18324 100644 (file)
@@ -890,6 +890,8 @@ void WebProcess::getSitesWithPluginData(const Vector<String>& pluginPaths, uint6
         for (size_t i = 0; i < sites.size(); ++i)
             sitesSet.add(sites[i]);
     }
+#else
+    UNUSED_PARAM(pluginPaths);
 #endif
 
     Vector<String> sites;
@@ -917,6 +919,11 @@ void WebProcess::clearPluginSiteData(const Vector<String>& pluginPaths, const Ve
         for (size_t i = 0; i < sites.size(); ++i)
             netscapePluginModule->clearSiteData(sites[i], flags, maxAgeInSeconds);
     }
+#else
+    UNUSED_PARAM(pluginPaths);
+    UNUSED_PARAM(sites);
+    UNUSED_PARAM(flags);
+    UNUSED_PARAM(maxAgeInSeconds);
 #endif
 
     connection()->send(Messages::WebProcessProxy::DidClearPluginSiteData(callbackID), 0);
index a851098..8b251b8 100644 (file)
@@ -51,7 +51,7 @@ static void webkitSoupRequestGenericSendAsync(SoupRequest* request, GCancellable
     WebProcess::shared().soupRequestManager().send(result, cancellable);
 }
 
-static GInputStream* webkitSoupRequestGenericSendFinish(SoupRequest* request, GAsyncResult* result, GError** error)
+static GInputStream* webkitSoupRequestGenericSendFinish(SoupRequest*, GAsyncResult* result, GError** error)
 {
     GSimpleAsyncResult* simpleResult = G_SIMPLE_ASYNC_RESULT(result);
     g_warn_if_fail(g_simple_async_result_get_source_tag(simpleResult) == webkitSoupRequestGenericSendAsync);
index 126bc6d..852a585 100644 (file)
@@ -83,7 +83,7 @@ static bool webkitSoupRequestInputStreamIsWaitingForData(WebKitSoupRequestInputS
     return !stream->priv->contentLength || stream->priv->bytesReceived < stream->priv->contentLength;
 }
 
-static void webkitSoupRequestInputStreamReadAsync(GInputStream* inputStream, void* buffer, gsize count, int priority, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer userData)
+static void webkitSoupRequestInputStreamReadAsync(GInputStream* inputStream, void* buffer, gsize count, int /*priority*/, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer userData)
 {
     WebKitSoupRequestInputStream* stream = WEBKIT_SOUP_REQUEST_INPUT_STREAM(inputStream);
     GRefPtr<GSimpleAsyncResult> result = adoptGRef(g_simple_async_result_new(G_OBJECT(stream), callback, userData, reinterpret_cast<void*>(webkitSoupRequestInputStreamReadAsync)));
@@ -104,7 +104,7 @@ static void webkitSoupRequestInputStreamReadAsync(GInputStream* inputStream, voi
     stream->priv->pendingAsyncRead = adoptPtr(new AsyncReadData(result.get(), buffer, count, cancellable));
 }
 
-static gssize webkitSoupRequestInputStreamReadFinish(GInputStream* inputStream, GAsyncResult* result, GError** error)
+static gssize webkitSoupRequestInputStreamReadFinish(GInputStream*, GAsyncResult* result, GError**)
 {
     GSimpleAsyncResult* simpleResult = G_SIMPLE_ASYNC_RESULT(result);
     g_warn_if_fail(g_simple_async_result_get_source_tag(simpleResult) == webkitSoupRequestInputStreamReadAsync);