Bug 105412

Summary: [EFL][WK2] Move deviceScaleFactor to our view as it's view related
Product: WebKit Reporter: Kenneth Rohde Christiansen <kenneth>
Component: WebKit EFLAssignee: Kenneth Rohde Christiansen <kenneth>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, laszlo.gombos, lucas.de.marchi, menard, rakuco, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Kenneth Rohde Christiansen 2012-12-19 04:16:11 PST
SSIA
Comment 1 Kenneth Rohde Christiansen 2012-12-19 04:17:38 PST
Created attachment 180130 [details]
Patch
Comment 2 Laszlo Gombos 2012-12-19 05:02:36 PST
Comment on attachment 180130 [details]
Patch

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

Looks good to me but I would appreciate to address the comments below.

> Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp:292
> +void EwkViewImpl::setDeviceScaleFactor(float scale)

Nit: Any reason not to use the same symbol name name as the implementation - EwkViewImpl::setIntrinsicDeviceScaleFactor ?

> Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp:302
> +    // Note that the scale factor incl page and device scale for now.

Nit: incl -> includes
Comment 3 Kenneth Rohde Christiansen 2012-12-19 05:06:49 PST
> > Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp:292
> > +void EwkViewImpl::setDeviceScaleFactor(float scale)
> 
> Nit: Any reason not to use the same symbol name name as the implementation - EwkViewImpl::setIntrinsicDeviceScaleFactor ?

Yeah, because that is an implementation detail. There exists two methods. Elsewhere it is called by the shorter name.
 
> > Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp:302
> > +    // Note that the scale factor incl page and device scale for now.
> 
> Nit: incl -> includes

Tried to keep the line short.
Comment 4 WebKit Review Bot 2012-12-19 05:23:37 PST
Comment on attachment 180130 [details]
Patch

Clearing flags on attachment: 180130

Committed r138146: <http://trac.webkit.org/changeset/138146>
Comment 5 WebKit Review Bot 2012-12-19 05:23:42 PST
All reviewed patches have been landed.  Closing bug.