WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
88799
Add new Pointer Lock spec attribute webkitPointerLockElement.
https://bugs.webkit.org/show_bug.cgi?id=88799
Summary
Add new Pointer Lock spec attribute webkitPointerLockElement.
Vincent Scheib
Reported
2012-06-11 13:28:29 PDT
Add new Pointer Lock spec attribute webkitPointerLockElement.
Attachments
Patch
(17.66 KB, patch)
2012-06-11 13:38 PDT
,
Vincent Scheib
no flags
Details
Formatted Diff
Diff
Patch
(18.31 KB, patch)
2012-06-11 14:36 PDT
,
Vincent Scheib
no flags
Details
Formatted Diff
Diff
Patch
(18.27 KB, patch)
2012-06-11 16:00 PDT
,
Vincent Scheib
dglazkov
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Vincent Scheib
Comment 1
2012-06-11 13:38:06 PDT
Created
attachment 146895
[details]
Patch
Dimitri Glazkov (Google)
Comment 2
2012-06-11 13:54:09 PDT
Comment on
attachment 146895
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=146895&action=review
> Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h:104 > + static bool webkitPointerLockElementEnabled() { return isPointerLockEnabled; }
Why is this necessary?
> Source/WebCore/dom/Document.idl:261 > + readonly attribute [V8EnabledAtRuntime] Element webkitPointerLockElement;
This should just be [V8EnabledAtRuntime=POINTER_LOCK]. No need for extra defines:
http://trac.webkit.org/wiki/WebKitIDL#V8EnabledAtRuntime
> Source/WebCore/page/PointerLockController.h:49 > + Element* element() const { return m_element.get(); }
Please don't do inline them like this. If you want this inlined, put the body of the function in this header file, after class declaration.
> LayoutTests/pointer-lock/pointer-lock-api.html:9 > + description("Basic API existance test for Pointer Lock.")
existance -> existence
Vincent Scheib
Comment 3
2012-06-11 14:36:09 PDT
Created
attachment 146915
[details]
Patch
Vincent Scheib
Comment 4
2012-06-11 16:00:54 PDT
Created
attachment 146947
[details]
Patch
Vincent Scheib
Comment 5
2012-06-11 16:02:38 PDT
Comment on
attachment 146895
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=146895&action=review
>> Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h:104 >> + static bool webkitPointerLockElementEnabled() { return isPointerLockEnabled; } > > Why is this necessary?
Removed.
>> Source/WebCore/dom/Document.idl:261 >> + readonly attribute [V8EnabledAtRuntime] Element webkitPointerLockElement; > > This should just be [V8EnabledAtRuntime=POINTER_LOCK]. No need for extra defines:
http://trac.webkit.org/wiki/WebKitIDL#V8EnabledAtRuntime
Done. Changed to use Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock.
>> Source/WebCore/page/PointerLockController.h:49 >> + Element* element() const { return m_element.get(); } > > Please don't do inline them like this. If you want this inlined, put the body of the function in this header file, after class declaration.
Done.
>> LayoutTests/pointer-lock/pointer-lock-api.html:9 >> + description("Basic API existance test for Pointer Lock.") > > existance -> existence
Done.
Vincent Scheib
Comment 6
2012-06-11 20:02:25 PDT
Committed
r120031
: <
http://trac.webkit.org/changeset/120031
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug