Kihong Kwon [Tue, 26 Mar 2013 06:50:17 +0000 (15:50 +0900)]
Merge "[WK2] Change tizen log for Geolocation" into tizen_2.1
krit@webkit.org [Thu, 30 Aug 2012 17:08:00 +0000 (17:08 +0000)]
[Cherry-pick] Refactor WrapShape classes to BasicShape
[Title] Refactor WrapShape classes to BasicShape
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>
Refactor WrapShape classes to BasicShape
https://bugs.webkit.org/show_bug.cgi?id=95461
Reviewed by Rob Buis.
This is a follow up patch of bug 95411. While the previous patch
just renamed the files, this patch renames the classes, enumerations
and functions.
Just refactoring of internal names. No new tests.
* css/BasicShapeFunctions.cpp:
(WebCore::valueForBasicShape):
(WebCore::basicShapeForValue):
* css/BasicShapeFunctions.h:
(WebCore):
* css/CSSBasicShapes.cpp:
(WebCore::CSSBasicShapeRectangle::cssText):
(WebCore::CSSBasicShapeCircle::cssText):
(WebCore::CSSBasicShapeEllipse::cssText):
(WebCore::CSSBasicShapePolygon::cssText):
* css/CSSBasicShapes.h:
(WebCore::CSSBasicShape::~CSSBasicShape):
(WebCore::CSSBasicShape::CSSBasicShape):
(WebCore::CSSBasicShapeRectangle::create):
(WebCore::CSSBasicShapeRectangle::type):
(WebCore::CSSBasicShapeRectangle::CSSBasicShapeRectangle):
(WebCore::CSSBasicShapeCircle::create):
(WebCore::CSSBasicShapeCircle::type):
(WebCore::CSSBasicShapeCircle::CSSBasicShapeCircle):
(WebCore::CSSBasicShapeEllipse::create):
(WebCore::CSSBasicShapeEllipse::type):
(WebCore::CSSBasicShapeEllipse::CSSBasicShapeEllipse):
(WebCore::CSSBasicShapePolygon::create):
(WebCore::CSSBasicShapePolygon::type):
(WebCore::CSSBasicShapePolygon::CSSBasicShapePolygon):
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseBasicShapeRectangle):
(WebCore::CSSParser::parseBasicShapeCircle):
(WebCore::CSSParser::parseBasicShapeEllipse):
(WebCore::CSSParser::parseBasicShapePolygon):
(WebCore::CSSParser::parseBasicShape):
* css/CSSParser.h:
(WebCore):
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::init):
* css/CSSPrimitiveValue.h:
(WebCore):
(WebCore::CSSPrimitiveValue::getShapeValue):
(CSSPrimitiveValue):
* css/StyleBuilder.cpp:
(WebCore):
(WebCore::ApplyPropertyWrapShape::setValue):
(WebCore::ApplyPropertyWrapShape::applyValue):
(WebCore::ApplyPropertyWrapShape::createHandler):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::updateWrapShapeInfoAfterStyleChange):
* rendering/RenderBlock.h:
(RenderBlock):
* rendering/WrapShapeInfo.cpp:
(WebCore::WrapShapeInfo::isWrapShapeInfoEnabledForRenderBlock):
(WebCore::WrapShapeInfo::computeShapeSize):
* rendering/style/BasicShapes.cpp:
(WebCore::BasicShape::destroy):
* rendering/style/BasicShapes.h:
(WebCore::BasicShape::BasicShape):
(WebCore::BasicShapeRectangle::create):
(WebCore::BasicShapeRectangle::BasicShapeRectangle):
(WebCore::BasicShapeCircle::create):
(WebCore::BasicShapeCircle::BasicShapeCircle):
(WebCore::BasicShapeEllipse::create):
(WebCore::BasicShapeEllipse::BasicShapeEllipse):
(WebCore::BasicShapePolygon::create):
(WebCore::BasicShapePolygon::BasicShapePolygon):
* rendering/style/RenderStyle.h:
* rendering/style/StyleRareNonInheritedData.h:
(StyleRareNonInheritedData):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127155
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp
Source/WebCore/rendering/RenderBlock.h
Source/WebCore/rendering/WrapShapeInfo.cpp
krit@webkit.org [Thu, 30 Aug 2012 13:44:36 +0000 (13:44 +0000)]
[Cherry-pick] Refactor WrapShape to Shape/BasicShape
[Title] Refactor WrapShape to Shape/BasicShape
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>
Refactor WrapShape to Shape/BasicShape
https://bugs.webkit.org/show_bug.cgi?id=95411
Reviewed by Andreas Kling.
The wrap shapes are currently specified by CSS3 Exclusions but are useful for other
CSS related proposals like CSS Masking as well. This is the first patch on a chain
of patches to refactor WrapShape to BasicShape. With this patch all relevant files
get renamend and the build systems updated. The classes will be renamend in a second
step.
Just renaming of files. No new tests.
* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/BasicShapeFunctions.cpp: Renamed from Source/WebCore/css/WrapShapeFunctions.cpp.
(WebCore):
(WebCore::valueForWrapShape):
(WebCore::convertToLength):
(WebCore::wrapShapeForValue):
* css/BasicShapeFunctions.h: Renamed from Source/WebCore/css/WrapShapeFunctions.h.
(WebCore):
* css/CSSAllInOne.cpp:
* css/CSSBasicShapes.cpp: Renamed from Source/WebCore/css/CSSWrapShapes.cpp.
(WebCore):
(WebCore::CSSWrapShapeRectangle::cssText):
(WebCore::CSSWrapShapeCircle::cssText):
(WebCore::CSSWrapShapeEllipse::cssText):
(WebCore::CSSWrapShapePolygon::cssText):
* css/CSSBasicShapes.h: Renamed from Source/WebCore/css/CSSWrapShapes.h.
(WebCore):
(CSSWrapShape):
(WebCore::CSSWrapShape::~CSSWrapShape):
(WebCore::CSSWrapShape::CSSWrapShape):
(CSSWrapShapeRectangle):
(WebCore::CSSWrapShapeRectangle::create):
(WebCore::CSSWrapShapeRectangle::x):
(WebCore::CSSWrapShapeRectangle::y):
(WebCore::CSSWrapShapeRectangle::width):
(WebCore::CSSWrapShapeRectangle::height):
(WebCore::CSSWrapShapeRectangle::radiusX):
(WebCore::CSSWrapShapeRectangle::radiusY):
(WebCore::CSSWrapShapeRectangle::setX):
(WebCore::CSSWrapShapeRectangle::setY):
(WebCore::CSSWrapShapeRectangle::setWidth):
(WebCore::CSSWrapShapeRectangle::setHeight):
(WebCore::CSSWrapShapeRectangle::setRadiusX):
(WebCore::CSSWrapShapeRectangle::setRadiusY):
(WebCore::CSSWrapShapeRectangle::type):
(WebCore::CSSWrapShapeRectangle::CSSWrapShapeRectangle):
(CSSWrapShapeCircle):
(WebCore::CSSWrapShapeCircle::create):
(WebCore::CSSWrapShapeCircle::centerX):
(WebCore::CSSWrapShapeCircle::centerY):
(WebCore::CSSWrapShapeCircle::radius):
(WebCore::CSSWrapShapeCircle::setCenterX):
(WebCore::CSSWrapShapeCircle::setCenterY):
(WebCore::CSSWrapShapeCircle::setRadius):
(WebCore::CSSWrapShapeCircle::type):
(WebCore::CSSWrapShapeCircle::CSSWrapShapeCircle):
(CSSWrapShapeEllipse):
(WebCore::CSSWrapShapeEllipse::create):
(WebCore::CSSWrapShapeEllipse::centerX):
(WebCore::CSSWrapShapeEllipse::centerY):
(WebCore::CSSWrapShapeEllipse::radiusX):
(WebCore::CSSWrapShapeEllipse::radiusY):
(WebCore::CSSWrapShapeEllipse::setCenterX):
(WebCore::CSSWrapShapeEllipse::setCenterY):
(WebCore::CSSWrapShapeEllipse::setRadiusX):
(WebCore::CSSWrapShapeEllipse::setRadiusY):
(WebCore::CSSWrapShapeEllipse::type):
(WebCore::CSSWrapShapeEllipse::CSSWrapShapeEllipse):
(CSSWrapShapePolygon):
(WebCore::CSSWrapShapePolygon::create):
(WebCore::CSSWrapShapePolygon::appendPoint):
(WebCore::CSSWrapShapePolygon::getXAt):
(WebCore::CSSWrapShapePolygon::getYAt):
(WebCore::CSSWrapShapePolygon::values):
(WebCore::CSSWrapShapePolygon::setWindRule):
(WebCore::CSSWrapShapePolygon::windRule):
(WebCore::CSSWrapShapePolygon::type):
(WebCore::CSSWrapShapePolygon::CSSWrapShapePolygon):
* css/CSSComputedStyleDeclaration.cpp:
* css/CSSParser.cpp:
* css/CSSPrimitiveValue.cpp:
* css/StyleBuilder.cpp:
* rendering/style/BasicShapes.cpp: Renamed from Source/WebCore/rendering/style/WrapShapes.cpp.
(WebCore):
(WebCore::WrapShape::destroy):
* rendering/style/BasicShapes.h: Renamed from Source/WebCore/rendering/style/WrapShapes.h.
(WebCore):
(WrapShape):
(WebCore::WrapShape::deref):
(WebCore::WrapShape::type):
(WebCore::WrapShape::WrapShape):
(WrapShapeRectangle):
(WebCore::WrapShapeRectangle::create):
(WebCore::WrapShapeRectangle::x):
(WebCore::WrapShapeRectangle::y):
(WebCore::WrapShapeRectangle::width):
(WebCore::WrapShapeRectangle::height):
(WebCore::WrapShapeRectangle::cornerRadiusX):
(WebCore::WrapShapeRectangle::cornerRadiusY):
(WebCore::WrapShapeRectangle::setX):
(WebCore::WrapShapeRectangle::setY):
(WebCore::WrapShapeRectangle::setWidth):
(WebCore::WrapShapeRectangle::setHeight):
(WebCore::WrapShapeRectangle::setCornerRadiusX):
(WebCore::WrapShapeRectangle::setCornerRadiusY):
(WebCore::WrapShapeRectangle::WrapShapeRectangle):
(WrapShapeCircle):
(WebCore::WrapShapeCircle::create):
(WebCore::WrapShapeCircle::centerX):
(WebCore::WrapShapeCircle::centerY):
(WebCore::WrapShapeCircle::radius):
(WebCore::WrapShapeCircle::setCenterX):
(WebCore::WrapShapeCircle::setCenterY):
(WebCore::WrapShapeCircle::setRadius):
(WebCore::WrapShapeCircle::WrapShapeCircle):
(WrapShapeEllipse):
(WebCore::WrapShapeEllipse::create):
(WebCore::WrapShapeEllipse::centerX):
(WebCore::WrapShapeEllipse::centerY):
(WebCore::WrapShapeEllipse::radiusX):
(WebCore::WrapShapeEllipse::radiusY):
(WebCore::WrapShapeEllipse::setCenterX):
(WebCore::WrapShapeEllipse::setCenterY):
(WebCore::WrapShapeEllipse::setRadiusX):
(WebCore::WrapShapeEllipse::setRadiusY):
(WebCore::WrapShapeEllipse::WrapShapeEllipse):
(WrapShapePolygon):
(WebCore::WrapShapePolygon::create):
(WebCore::WrapShapePolygon::windRule):
(WebCore::WrapShapePolygon::values):
(WebCore::WrapShapePolygon::getXAt):
(WebCore::WrapShapePolygon::getYAt):
(WebCore::WrapShapePolygon::setWindRule):
(WebCore::WrapShapePolygon::appendPoint):
(WebCore::WrapShapePolygon::WrapShapePolygon):
* rendering/style/StyleRareNonInheritedData.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127132
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
Source/WebCore/Target.pri
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/css/StyleBuilder.cpp
Taehwan Kim [Tue, 26 Mar 2013 06:18:39 +0000 (15:18 +0900)]
[Release] Webkit2-efl-123997_0.11.1
Change-Id: I779311f693caa83281aebd9ea297ca693c9b222b
SangYong Park [Mon, 18 Feb 2013 23:33:01 +0000 (08:33 +0900)]
Change traversing tree to render tree in screen reader.
[Title] Change traversing tree to render tree in screen reader.
[Issue#] N/A
[Problem]
[Cause]
[Solution]
Change-Id: Ic4c426d8fc0044ca78a13fc0a7e9018a1d5868e2
Taeyun An [Mon, 25 Mar 2013 12:29:36 +0000 (21:29 +0900)]
Checking the clipboard status before appear context menu
[Title] Changed signal for showing text selection handles.
[Issue#] N_SE-29804
[Problem] Context menu options does disappear after clipboard appear
[Cause] There is appear the context menu routine after clipboard appear
[Solution] Checking clipboard status before appear context menu
Change-Id: I8204b0fb2a48272583b20e6f837917cdfdb7d4c5
Sanghyup Lee [Mon, 25 Mar 2013 07:29:48 +0000 (16:29 +0900)]
Switch release branch from master to tizen_2.1
[Title] Switch release branch from master to tizen_2.1
[Issue] N/A
[Problem] Release policy was changed.
[Cause] N/A
[Solution] Switch release branch from master to tizen_2.1.
In addition, removed sdk branch related code because of no needs anymore.
Change-Id: I47aaacd3695f16a8764ac737ef65cfef86ef6747
pritam.nikam [Tue, 26 Mar 2013 13:13:29 +0000 (18:43 +0530)]
[WK2] Fix for initial scale handling for mobile pages in UI process side.
[Version] N/A
[Project] N/A
[Title] Fix for issue WEB-2446
[BinType] N/A
[Customer] N/A
[Issue#] WEB-2446
[Problem] [WK2] Page display differs while reloading the same webpage in "http://dev.bybjorn.com/ipadoffline".
[Cause] Viewport's initial scale handling on UI process is at fault. In WebKit::PageClientImpl::didChangeContentsSize
over-writes initilal scale and replaces it with minimumScaleByContentWidth, i.e. ratio of webview (evas object)
size's width to page contents width. Apparently contents fit to width, instead of initial scale set in pages
meta viewport tag.
[Solution] If initialScale is not set explicitly in content's meta viewport and is same to minimumScale, then only
update initialScale to the minimumScaleByContentWidth. Otherwise retain the initial scale to value specified in
content's viewport consraints.
[Team] TiledAC
[Developer] pritam.nikam
[Request] N/A
[Horizontal expansion] N/A
[SCMRequest] N/A
Change-Id: Iba9302bb9b0ffa22ea0c5d0e0d6a74c291211d3e
Seonae Kim [Mon, 25 Mar 2013 07:20:19 +0000 (16:20 +0900)]
[WK2] Change tizen log for Geolocation
[Title][WK2] Change tizen log for Geolocation
[Issue] N/A
[Problem] A log is unclear.
[Cause] N/A
[Solution] Geolocation should generate console log for accuracy.
Change-Id: I08d18bea74677e1ed1480f8a8db5bc2c338e67ce
SangYong Park [Mon, 25 Mar 2013 01:27:47 +0000 (10:27 +0900)]
Fix keypad issue in google maps
[Title] Fix keypad issue in google maps
[Issue#] N_SE-26103
[Problem] Keypad did not appear in google maps
[Cause] keypad context was reseted before handling tap event
[Solution] Remove keypad context reseting code
Change-Id: Id4e99ea079d0431c89cb7c11fcc0cf5347ad7bda
akling@apple.com [Fri, 15 Mar 2013 18:10:30 +0000 (18:10 +0000)]
[CherryPick] [JSC] Remove custom WebAudio mark functions that we can generate instead.
[Title] [CherryPick] [JSC] Remove custom WebAudio mark functions that we can generate instead.
[Issues] N/A
[Problem] WebAudio API Spec update
[Solution] Cherry picked.
[Cherry-Picker] Praveen R Jadhav <praveen.j@samsung.com>
[JSC] Remove custom WebAudio mark functions that we can generate instead.
<http://webkit.org/b/110976>
Reviewed by Eric Carlson.
Remove custom JSC mark functions for AudioContext and ScriptProcessorNode since they
are trivial to generate.
* Modules/webaudio/AudioContext.idl:
* Modules/webaudio/ScriptProcessorNode.idl:
* GNUmakefile.list.am:
* UseJSC.cmake:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSAudioContextCustom.cpp:
* bindings/js/JSScriptProcessorNodeCustom.cpp: Removed.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145922
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Modules/webaudio/AudioContext.idl
Source/WebCore/Modules/webaudio/ScriptProcessorNode.idl
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Change-Id: Ibd2e5227eb150e696182c5b042e95b3690b4f20d
christophe.dumez@intel.com [Mon, 7 Jan 2013 13:26:13 +0000 (13:26 +0000)]
[CherryPick] Regression(r138786): Causes webaudio tests to crash
[Title] [CherryPick] Regression(r138786): Causes webaudio tests to crash
[Issues] N/A
[Problem] WebAudio Intel TCs hang during regression test
[Solution] Cherry picked.
[Cherry-Picker] Praveen R Jadhav <praveen.j@samsung.com>
https://bugs.webkit.org/show_bug.cgi?id=106182
Reviewed by Philippe Normand.
Source/WebCore:
Partially revert r138786 since it causes crashes in webaudio
tests. The WebProcess would actually become unresponsive due
to source element never going to PLAYING state.
Only the changes to webKitWebAudioSrcChangeState() were reverted.
No new tests, already covered by existing tests.
* platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioSrcChangeState):
LayoutTests:
Unskip several webaudio tests for EFL WK2 now that the
regression was fixed.
* platform/efl-wk2/TestExpectations:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138935
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
LayoutTests/platform/efl-wk2/TestExpectations
Source/WebCore/ChangeLog
Change-Id: I200bcba74492c4ad5af6b34e2d01b16645683968
Praveen R Jadhav [Mon, 25 Mar 2013 01:49:07 +0000 (10:49 +0900)]
Revert "Fix to resolve hang while running WebAudio automation testing."
This reverts commit
6ac5c23f274dbef1454edca6b5cafbdd6003b816.
[Reason]: Updates from WebKit.org https://bugs.webkit.org/show_bug.cgi?id=106182 will be cherry-picked
to resolve this issue.
Change-Id: If521a91356ca0320dba4a77f7bfb15e8e8e1ddfc
Raveendra Karu [Mon, 25 Mar 2013 08:12:08 +0000 (17:12 +0900)]
Authentication pop up is displayed even when Authentication credentials are set in request url
[Title] Authentication pop up is displayed even when Authentication credentials are set in request url
[Issue#] DCM-596
[Problem] Even though request url contains Authentication credentials, Authentication pop is being shown.
[Cause] "Authorization" headers is not getting added to the request headers since it is skipped for http family protocols.
[Solution] Adding "Authorization" header to the request in case of http family protocols also.
[Developer] Raveendra Karu (r.karu@samsung.com)
Taehwan Kim [Mon, 25 Mar 2013 06:19:07 +0000 (15:19 +0900)]
[Release] Webkit2-efl-123997_0.10.83
Change-Id: Ic3c226c7f1ea766e85966180787a52833d57a831
enrica@apple.com [Tue, 15 Jan 2013 23:00:59 +0000 (23:00 +0000)]
[Cherry-pick] Add a new set of WebKit2 APIs for text search and search results management.
[Title] [Cherry-pick] Add a new set of WebKit2 APIs for text search and search results management.
[Issue] https://tizendev.org/bugs/browse/N_SE-25811
[Problem] Find string is not working in the page with the CSS style, '--webkit-user-select: none'.
[Solution] We need to expand the text search implementation with the new WebKit2 APIs in the open source.
So I cherry-pick this patch in the open source.
[Cherry-Picker] Jinwoo Song <jinwoo7.song@samsung.com>
Add a new set of WebKit2 APIs for text search and search results management.
https://bugs.webkit.org/show_bug.cgi?id=106834.
<rdar://problem/
12597159>
Source/WebCore:
Reviewed by Simon Fraser.
Adding new API to perform text search in WebKit2 without using
the stock UI. The new interface provides all the information
necessary to write a custom UI for search.
Added new TextWebKitAPI test.
* WebCore.exp.in: Added new exported methods.
* editing/Editor.cpp:
(WebCore::Editor::countMatchesForText): Added new parameter to store
all the ranges relative to the matches found.
* editing/Editor.h: Modified the interface of countMatchesForText and removed
the other definition of countMatchesForText with a different signature.
* page/Page.cpp:
(WebCore::Page::findStringMatchingRanges): Added.
(WebCore::Page::markAllMatchesForText): Changed to use the new unified
countMatchesForText.
* page/Page.h:
Source/WebKit/mac:
Reviewed by Simon Fraser.
Adding new API to perform text search in WebKit2 without using
the stock UI. The new interface provides all the information
necessary to write a custom UI for search.
Added new TextWebKitAPI test.
* WebView/WebHTMLView.mm:
(-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
Modified to reflect the changes to Editor::countMatchesForText interface.
Source/WebKit2:
Reviewed by Simon Fraser.
Adding new API to perform text search in WebKit2 without using
the stock UI. The new interface provides all the information
necessary to write a custom UI for search. The main logic is
implemented in the new functions added to FindController.
Added new TextWebKitAPI test.
* UIProcess/API/C/WKPage.cpp:
(WKPageFindStringMatches): Added.
(WKPageGetImageForFindMatch): Added.
(WKPageSelectFindMatch): Added.
(WKPageSetPageFindMatchesClient): Added.
* UIProcess/API/C/WKPage.h: Added the new API definitions.
* UIProcess/WebFindClient.cpp: Added new client callbacks.
(WebKit::WebFindMatchesClient::didFindStringMatches):
(WebKit::WebFindMatchesClient::didGetImageForMatchResult):
* UIProcess/WebFindClient.h:
(WebFindMatchesClient): Added.
* UIProcess/WebPageProxy.cpp: Added proxy methods.
(WebKit::WebPageProxy::initializeFindMatchesClient):
(WebKit::WebPageProxy::findStringMatches):
(WebKit::WebPageProxy::getImageForFindMatch):
(WebKit::WebPageProxy::selectFindMatch):
(WebKit::WebPageProxy::didGetImageForFindMatch):
(WebKit::WebPageProxy::didFindStringMatches):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findStringMatches): Finds all the matching
text according to the find options. All the matching text ranges are
stored in a vector until the next call to findStringMatches or until
hideFindUI is called. The message that is sent back to the UI process
contains a vector containing an entry for each find match (i.e. for each
range) and each entry is represented by a vector of the corresponding
text rects. It also returns the index in the vector of matches corresponding
to the first match after the user selection.
If there is no selection the index is always 0 and if there are no
matches after the user selection, the index returned is -1.
(WebKit::FindController::getFindIndicatorBitmapAndRect): Helper function
to share code between updateFindIndicator and getImageForFindMatch.
(WebKit::FindController::getImageForFindMatch): Creates the image corresponding
to the text matched at the given match index.
(WebKit::FindController::selectFindMatch): creates a selection for the range
corresponding to the given match index.
(WebKit::FindController::hideFindUI): Added logic to clear the vector
of matched ranges.
(WebKit::FindController::updateFindIndicator): Updated to use the
new helper function getFindIndicatorBitmapAndRect.
* WebProcess/WebPage/FindController.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::findStringMatches):
(WebKit::WebPage::getImageForFindMatch):
(WebKit::WebPage::selectFindMatch):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
Tools:
Added new test for the new WebKit2 API for
text search.
Reviewed by Simon Fraser.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/FindMatches.mm: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139796
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
Source/WebKit/mac/ChangeLog
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebPageProxy.h
Source/WebKit2/UIProcess/WebPageProxy.messages.in
Source/WebKit2/WebProcess/WebPage/FindController.cpp
Tools/ChangeLog
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
Change-Id: I50c151a32ebbc2cbaa1ce2c973afb25d7e99db78
eojin.ham [Fri, 22 Mar 2013 12:16:55 +0000 (21:16 +0900)]
Add a enum value for media stream recorder in _Ewk_Extensible_API
[Title] Add a enum value for media stream recorder in _Ewk_Extensible_API
[Problem] Enum type of _Ewk_Extensible_API should be included in the patch (https://tizendev.org/gerrit/#/c/53792/)
[Cause] It missed by mistake.
[Solution] Add a enum value for media stream recorder in _Ewk_Extensible_API
Change-Id: Ieb821df91bd3c7ba8cb0e7a43559ae85c7140560
ryuan [Mon, 25 Mar 2013 02:03:38 +0000 (11:03 +0900)]
Remove copyright of error page
[Title]Remove copyright of error page
[Problem] copyright is not needed for this error page.
[Cause] N/A
[Solution] Removed.
Change-Id: Ia65ce85d83a8dab01c21bd0ae60062e7e785b3eb
seung hak lee [Mon, 25 Mar 2013 01:47:53 +0000 (10:47 +0900)]
Merge "Support loading for app:// scheme and widget:// scheme." into tizen_2.1
Taehwan Kim [Sat, 23 Mar 2013 08:43:15 +0000 (17:43 +0900)]
[Release] Webkit2-efl-123997_0.10.82
Change-Id: Id9d1afa7f841cff33d14e6306c347efca9e9dbb9
Taeyun An [Sat, 23 Mar 2013 08:12:26 +0000 (17:12 +0900)]
Add the check for the setting of form candidate when saving form data
[Title] Add the check for the setting of form candidate when saving form data
[Issue#] N/A
[Problem] form candidate is not working if autofill_password_form is disabled
[Cause] If autofill password is disabled, the form data is not saved
[Solution] Add the check for the setting of form candidate when saving form data
Change-Id: Id17ec873852104732ac447e2fdeaff6a4239df9f
Sungman Kim [Sat, 23 Mar 2013 00:08:56 +0000 (09:08 +0900)]
Support loading for app:// scheme and widget:// scheme.
WRT should use protocol for app:// scheme or widget:// scheme.
So we added the new alternativeURL variable to resourceRequestBase class to support app:// and widget:// protocol loading.
Also the changed data:// protocol from file:// protocol is supported.
[Title] Support loading for app:// and widget:// scheme.
[Issue#] N/A
[Problem] The app:// , widget:// protocol is not supported.
[Cause] app:// , widget:// scheme is not supported protocol in webkit.
[Solution] Add the new alternativeURL variable to resourceRequestBase class and if the original url is app:// scheme then replace it to file:// or data:// scheme before request.
[SCMRequest] N/A
Change-Id: I0adf59337a17be36cb65e8ffad13642659fce48a
Taehwan Kim [Fri, 22 Mar 2013 13:04:59 +0000 (22:04 +0900)]
upload tizen_2.1 source
Change-Id: I18401bc705004db4effe7d86cfe1d5f252ce4a27
Jinkun Jang [Thu, 14 Mar 2013 06:02:01 +0000 (15:02 +0900)]
sync
Jinkun Jang [Tue, 12 Mar 2013 17:02:02 +0000 (02:02 +0900)]
Tizen 2.1 base
Eunkyoung Kim [Fri, 6 Jan 2012 13:20:27 +0000 (22:20 +0900)]
Initial empty repository