Closed
Bug 866679
Opened 12 years ago
Closed 12 years ago
Convert DOMSVGZoomEvent to WebIDL
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: baku, Assigned: baku)
References
(Depends on 1 open bug)
Details
Attachments
(2 files, 4 obsolete files)
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #743081 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #743082 -
Flags: review?(Ms2ger)
Comment 3•12 years ago
|
||
Comment on attachment 743081 [details] [diff] [review]
part 1 - renaming
Review of attachment 743081 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/svg/content/src/nsDOMSVGZoomEvent.h
@@ +8,1 @@
>
mozilla_dom_SVGZoomEvent_h
Comment 4•12 years ago
|
||
Comment on attachment 743082 [details] [diff] [review]
part 2 - webidl
Review of attachment 743082 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/svg/content/src/SVGZoomEvent.cpp
@@ -84,2 @@
> NS_INTERFACE_MAP_END_INHERITING(nsDOMUIEvent)
>
Don't declare nsISupports since you're not overriding anything.
::: content/svg/content/src/SVGZoomEvent.h
@@ +19,3 @@
> namespace dom {
>
> +class SVGZoomEvent : public nsDOMUIEvent
MOZ_FINAL
::: dom/bindings/Bindings.conf
@@ +989,5 @@
>
> +'SVGZoomEvent': {
> + 'nativeType': 'mozilla::dom::SVGZoomEvent'
> +},
> +
Don't need this
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #743081 -
Attachment is obsolete: true
Attachment #743081 -
Flags: review?(Ms2ger)
Attachment #743150 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #743082 -
Attachment is obsolete: true
Attachment #743082 -
Flags: review?(Ms2ger)
Attachment #743151 -
Flags: review?(Ms2ger)
Assignee | ||
Updated•12 years ago
|
Comment 7•12 years ago
|
||
Comment on attachment 743150 [details] [diff] [review]
part 1 - renaming
Review of attachment 743150 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with those comments.
::: content/svg/content/src/nsDOMSVGZoomEvent.cpp
@@ +17,5 @@
>
> //----------------------------------------------------------------------
> // Implementation
>
> +SVGZoomEvent::SVGZoomEvent(mozilla::dom::EventTarget* aOwner,
Drop the mozilla::dom
::: content/svg/content/src/nsDOMSVGZoomEvent.h
@@ +23,3 @@
> {
> public:
> typedef mozilla::DOMSVGPoint DOMSVGPoint;
Don't need this anymore
Attachment #743150 -
Flags: review?(Ms2ger) → review+
Comment 8•12 years ago
|
||
Comment on attachment 743151 [details] [diff] [review]
part 2 - webidl
Review of attachment 743151 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with those comments.
::: content/svg/content/src/SVGZoomEvent.h
@@ +13,4 @@
>
> class nsGUIEvent;
> class nsPresContext;
> +class nsISVGPoint;
Sort
@@ +24,5 @@
> typedef mozilla::DOMSVGPoint DOMSVGPoint;
>
> SVGZoomEvent(EventTarget* aOwner, nsPresContext* aPresContext,
> nsGUIEvent* aEvent);
>
Fix the trailing whitespace while you're here
@@ +31,5 @@
>
> + virtual JSObject* WrapObject(JSContext* aCx,
> + JS::Handle<JSObject*> aScope) MOZ_OVERRIDE
> + {
> + return mozilla::dom::SVGZoomEventBinding::Wrap(aCx, aScope, this);
Drop the mozilla::dom::
::: dom/interfaces/svg/moz.build
@@ +15,5 @@
> 'nsIDOMSVGDocument.idl',
> 'nsIDOMSVGElement.idl',
> 'nsIDOMSVGLength.idl',
> 'nsIDOMSVGNumber.idl',
> + 'nsIDOMSVGRect.idl'
Keep the trailing comma
::: dom/webidl/SVGZoomEvent.webidl
@@ +16,5 @@
> +
> + readonly attribute float previousScale;
> + readonly attribute SVGPoint previousTranslate;
> + readonly attribute float newScale;
> + readonly attribute SVGPoint newTranslate;
Make the two points nullable.
And all these should be [Constant].
Attachment #743151 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #743150 -
Attachment is obsolete: true
Attachment #743658 -
Flags: review+
Assignee | ||
Comment 10•12 years ago
|
||
Attachment #743151 -
Attachment is obsolete: true
Attachment #743674 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 11•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/38997ae06dc6
https://hg.mozilla.org/integration/mozilla-inbound/rev/750587157bc3
Keywords: checkin-needed
Comment 12•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/38997ae06dc6
https://hg.mozilla.org/mozilla-central/rev/750587157bc3
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•