framework/web/webkit-efl.git
11 years agoChange value of mediaSliderThumHeight
keonho07.kim [Tue, 26 Mar 2013 12:52:23 +0000 (21:52 +0900)]
Change value of mediaSliderThumHeight

[Title] Change value of mediaSliderThumHeight
[Problem] MediaPlayer's controller was displayed wrong in emulator.
[Cause] mediaSliderThumbHeight was 0, caculation of rect was wrong.
[Solution] Change mediaSliderThumbHeight

Change-Id: I508e866c604b63b28f4ee9d573708410de3fbf78

11 years ago[Cherry-pick] Add a new set of WebKit2 APIs for text search and search results manage...
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

11 years agoAdd a enum value for media stream recorder in _Ewk_Extensible_API
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

11 years agoRemove copyright of error page
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

11 years agoMerge "Support loading for app:// scheme and widget:// scheme." into tizen_2.1
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

11 years ago[Release] Webkit2-efl-123997_0.10.82
Taehwan Kim [Sat, 23 Mar 2013 08:43:15 +0000 (17:43 +0900)]
[Release] Webkit2-efl-123997_0.10.82

Change-Id: Id9d1afa7f841cff33d14e6306c347efca9e9dbb9

11 years agoAdd the check for the setting of form candidate when saving form data
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

11 years agoSupport loading for app:// scheme and widget:// scheme.
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

11 years agoupload tizen_2.1 source
Taehwan Kim [Fri, 22 Mar 2013 13:04:59 +0000 (22:04 +0900)]
upload tizen_2.1 source

Change-Id: I18401bc705004db4effe7d86cfe1d5f252ce4a27

11 years agosync
Jinkun Jang [Thu, 14 Mar 2013 06:02:01 +0000 (15:02 +0900)]
sync

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 17:02:02 +0000 (02:02 +0900)]
Tizen 2.1 base

12 years agoInitial empty repository
Eunkyoung Kim [Fri, 6 Jan 2012 13:20:27 +0000 (22:20 +0900)]
Initial empty repository