Bug 116386 - [EFL][WK2] Refactor ewk_view_custom_encoding_set/get API
Summary: [EFL][WK2] Refactor ewk_view_custom_encoding_set/get API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jinwoo Song
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-18 00:13 PDT by Jinwoo Song
Modified: 2013-05-18 01:48 PDT (History)
5 users (show)

See Also:


Attachments
Patch (4.74 KB, patch)
2013-05-18 00:22 PDT, Jinwoo Song
no flags Details | Formatted Diff | Diff
Patch (4.75 KB, patch)
2013-05-18 00:57 PDT, Jinwoo Song
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jinwoo Song 2013-05-18 00:13:14 PDT
Handles the 'const char*' parameter in right way and enable the unit test for this API.
Comment 1 Jinwoo Song 2013-05-18 00:22:03 PDT
Created attachment 202193 [details]
Patch
Comment 2 Chris Dumez 2013-05-18 00:41:21 PDT
Comment on attachment 202193 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=202193&action=review

Looks good. r=me with a few nit fixes.

> Source/WebKit2/ChangeLog:8
> +        Refactor the API to handle 'const char*' paramerter in right way and

"parameter"

> Source/WebKit2/UIProcess/API/efl/EwkView.h:139
> +    const char* customTextEncodingName() {return m_customEncoding; }

Missing space after '{'. Why isn't the getter const anymore?
Comment 3 Jinwoo Song 2013-05-18 00:56:25 PDT
Comment on attachment 202193 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=202193&action=review

>> Source/WebKit2/ChangeLog:8
>> +        Refactor the API to handle 'const char*' paramerter in right way and
> 
> "parameter"

I will fix.

>> Source/WebKit2/UIProcess/API/efl/EwkView.h:139
>> +    const char* customTextEncodingName() {return m_customEncoding; }
> 
> Missing space after '{'. Why isn't the getter const anymore?

Opps, my bad. This is my first patch with Sublime Text 2 but it seems to be familiar with this more. :)
Comment 4 Jinwoo Song 2013-05-18 00:57:57 PDT
Created attachment 202194 [details]
Patch
Comment 5 WebKit Commit Bot 2013-05-18 01:48:13 PDT
Comment on attachment 202194 [details]
Patch

Clearing flags on attachment: 202194

Committed r150332: <http://trac.webkit.org/changeset/150332>
Comment 6 WebKit Commit Bot 2013-05-18 01:48:16 PDT
All reviewed patches have been landed.  Closing bug.