[EFL][WK2] Add support for custom cursors
https://bugs.webkit.org/show_bug.cgi?id=101723

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

Source/WebCore:

Add getEvasObject() virtual method to Image class and
provide implementation for BitmapImage.

No new tests, no behavior change.

* platform/efl/CursorEfl.cpp:
(WebCore::cursorString):
* platform/graphics/BitmapImage.h:
(BitmapImage):
* platform/graphics/Image.h:
(Image):
(WebCore::Image::getEvasObject):
* platform/graphics/efl/ImageEfl.cpp:
(WebCore::BitmapImage::getEvasObject):
(WebCore):

Source/WebKit2:

EwkViewImpl::setCursor() now properly handles custom
cursors.

* UIProcess/API/efl/EwkViewImpl.cpp:
(EwkViewImpl::EwkViewImpl):
(EwkViewImpl::setCursor):
* UIProcess/API/efl/EwkViewImpl.h:
(EwkViewImpl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Fix build warning in test_ewk2_context.cpp: [-Wwrite-strings]
https://bugs.webkit.org/show_bug.cgi?id=101666

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-11-09
Reviewed by Kenneth Rohde Christiansen.

Use constant character pointer to fix [-Wwrite-strings] warning.

* UIProcess/API/efl/tests/test_ewk2_context.cpp:
(TEST_F):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Make classes for client use WebContext instead of WKContext
https://bugs.webkit.org/show_bug.cgi?id=101564

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-11-09
Reviewed by Kenneth Rohde Christiansen.

EwkContext class has been refactored to use WebContext instead of WKContext in r133844,
so this patch makes client classes use WebContext

* UIProcess/API/efl/ewk_context.cpp:
(EwkContext::EwkContext):
* UIProcess/efl/BatteryProvider.cpp:
(BatteryProvider::~BatteryProvider):
(BatteryProvider::create):
(BatteryProvider::BatteryProvider):
(BatteryProvider::didChangeBatteryStatus):
* UIProcess/efl/BatteryProvider.h:
(BatteryProvider):
* UIProcess/efl/ContextHistoryClientEfl.cpp:
(WebKit::ContextHistoryClientEfl::ContextHistoryClientEfl):
* UIProcess/efl/ContextHistoryClientEfl.h:
(WebKit::ContextHistoryClientEfl::create):
(ContextHistoryClientEfl):
* UIProcess/efl/NetworkInfoProvider.cpp:
(NetworkInfoProvider::create):
(NetworkInfoProvider::NetworkInfoProvider):
(NetworkInfoProvider::~NetworkInfoProvider):
* UIProcess/efl/NetworkInfoProvider.h:
(NetworkInfoProvider):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Regression(r107593) Crash in ContextMenuController::addInspectElementItem()
https://bugs.webkit.org/show_bug.cgi?id=101595

Reviewed by Simon Hausmann.

If the contextMenu is a null pointer treat it as empty, appendItem will later
create it if necessary.

* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::addInspectElementItem):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: render canvas log as a grid.
https://bugs.webkit.org/show_bug.cgi?id=101732

Reviewed by Vsevolod Vlasov.

* English.lproj/localizedStrings.js:
* inspector/front-end/CanvasProfileView.js:
(WebInspector.CanvasProfileView):
(WebInspector.CanvasProfileView.prototype._onSelectTraceLog):
(WebInspector.CanvasProfileView.prototype._replayTraceLog.didReplayTraceLog):
(WebInspector.CanvasProfileView.prototype._replayTraceLog):
(WebInspector.CanvasProfileHeader.prototype.traceLogId):
(WebInspector.CanvasLogGrid):
(WebInspector.CanvasLogGrid.prototype._didReceiveTraceLog):
(WebInspector.CanvasLogGrid.prototype._createCallNode):
* inspector/front-end/DataGrid.js:
(WebInspector.DataGridNode.prototype.createCell):
* inspector/front-end/canvasProfiler.css:
(#canvas-replay-image-container):

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