Web Inspector: Elaborate source panel sidebar context menus.
https://bugs.webkit.org/show_bug.cgi?id=99980

Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-10-23
Reviewed by Vsevolod Vlasov.

- Watches: add "Add watch expression" item to items and empty element
- Watches: hide "Remove watch expression" from editing prompt context menu
- Watches: add titles to header buttons
- XHR Breakpoints: add "Add Breakpoint" item to items and empty element
- XHR Breakpoints: add "Remove all breakpoints" item to items (when >1)
- XHR Breakpoints: add title to header button
- JS Breakpoints: hide "Remove/(De)Activate breakpoints" when only 1 item present
- JS Breakpoints: add "(De)Activate breakpoints" to empty element context menu

* English.lproj/localizedStrings.js: Added corresponding strings.
* inspector/front-end/BreakpointsSidebarPane.js: Adjusted context menu.
(WebInspector.XHRBreakpointsSidebarPane): Ditto.
* inspector/front-end/ObjectPropertiesSection.js: Added "isEditing()"
* inspector/front-end/WatchExpressionsSidebarPane.js: Adjusted context menu.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132199 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Make a download client a C++ class
https://bugs.webkit.org/show_bug.cgi?id=100005

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-23
Reviewed by Kenneth Rohde Christiansen.

Make EFL's Download client a C++ class and move
the id <-> download mapping from Ewk_Context to
DownloadManagerEfl.

The Download client was also moved to
UIProcess/efl/ instead of UIProcess/API/efl/
since it is not part of the public API.

* PlatformEfl.cmake:
* UIProcess/API/efl/PageClientImpl.cpp:
(WebKit::PageClientImpl::handleDownloadRequest):
* UIProcess/API/efl/ewk_context.cpp:
(Ewk_Context::Ewk_Context):
(Ewk_Context::downloadManager):
* UIProcess/API/efl/ewk_context_download_client_private.h: Removed.
* UIProcess/API/efl/ewk_context_private.h:
(Ewk_Context):
* UIProcess/API/efl/ewk_download_job_private.h:
* UIProcess/efl/DownloadManagerEfl.cpp: Renamed from Source/WebKit2/UIProcess/API/efl/ewk_context_download_client.cpp.
(WebKit):
(WebKit::toDownloadManagerEfl):
(WebKit::DownloadManagerEfl::decideDestinationWithSuggestedFilename):
(WebKit::DownloadManagerEfl::didReceiveResponse):
(WebKit::DownloadManagerEfl::didCreateDestination):
(WebKit::DownloadManagerEfl::didReceiveData):
(WebKit::DownloadManagerEfl::didFail):
(WebKit::DownloadManagerEfl::didCancel):
(WebKit::DownloadManagerEfl::didFinish):
(WebKit::DownloadManagerEfl::DownloadManagerEfl):
(WebKit::DownloadManagerEfl::registerDownload):
(WebKit::DownloadManagerEfl::downloadJob):
(WebKit::DownloadManagerEfl::unregisterDownloadJob):
* UIProcess/efl/DownloadManagerEfl.h: Added.
(WebKit):
(DownloadManagerEfl):
(WebKit::DownloadManagerEfl::create):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2] REGRESSION(r132169): It broke all plugin related test.
<http://webkit.org/b/100094>

Unreviewed test fix, make the CoreIPC encode/decode functions for CString match again.

* Platform/CoreIPC/ArgumentCoders.cpp:
(CoreIPC::::encode):

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