Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 268803005: Replace SVGDocument by XMLDocument (Closed)

Created:
6 years, 7 months ago by rwlbuis
Modified:
6 years, 7 months ago
Reviewers:
pdr., Inactive
CC:
blink-reviews, krit, blink-reviews-html_chromium.org, aboxhall, blink-reviews-events_chromium.org, sof, eae+blinkwatch, fs, kouhei+svg_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, dmazzoni, f(malita), gavinp+loader_chromium.org, gyuyoung.kim_webkit.org, Stephen Chennney, Nate Chapin, ed+blinkwatch_opera.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Replace SVGDocument by XMLDocument since it is removed from SVG2. In order to achieve this move its functionality to SVGDocumentExtensions and adjust the call sites. XMLDocument now knows how to create a SVG Document and getSVGDocument returns a Document. Finally mark XMLDocument as final. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173338

Patch Set 1 #

Patch Set 2 : Remove SVGDocument #

Total comments: 4

Patch Set 3 : Fix mentioned issues #

Total comments: 2

Patch Set 4 : Add rootElement() variant #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -180 lines) Patch
M Source/core/accessibility/AXRenderObject.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/core.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/DOMImplementation.cpp View 1 3 chunks +2 lines, -5 lines 0 comments Download
M Source/core/dom/XMLDocument.h View 2 chunks +6 lines, -1 line 0 comments Download
M Source/core/fetch/DocumentResource.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/fetch/FontResource.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/fetch/FontResource.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLFrameOwnerElement.h View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLFrameOwnerElement.cpp View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 4 chunks +5 lines, -6 lines 0 comments Download
M Source/core/svg/SVGDocument.h View 1 1 chunk +0 lines, -58 lines 0 comments Download
M Source/core/svg/SVGDocument.cpp View 1 1 chunk +0 lines, -86 lines 0 comments Download
M Source/core/svg/SVGDocument.idl View 1 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGDocumentExtensions.h View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M Source/core/svg/SVGDocumentExtensions.cpp View 1 2 3 2 chunks +41 lines, -1 line 0 comments Download
M Source/core/svg/graphics/SVGImage.cpp View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rwlbuis
PTAL.
6 years, 7 months ago (2014-05-03 20:40:05 UTC) #1
pdr.
I like where this is heading. https://codereview.chromium.org/268803005/diff/20001/Source/core/page/EventHandler.cpp File Source/core/page/EventHandler.cpp (right): https://codereview.chromium.org/268803005/diff/20001/Source/core/page/EventHandler.cpp#newcode593 Source/core/page/EventHandler.cpp:593: m_frame->document()->accessSVGExtensions().startPan(m_frame->view()->windowToContents(event.event().position())); This isn't ...
6 years, 7 months ago (2014-05-03 21:35:30 UTC) #2
rwlbuis
On 2014/05/03 21:35:30, pdr wrote: > I like where this is heading. > > https://codereview.chromium.org/268803005/diff/20001/Source/core/page/EventHandler.cpp ...
6 years, 7 months ago (2014-05-03 21:42:19 UTC) #3
rwlbuis
On 2014/05/03 21:35:30, pdr wrote: > https://codereview.chromium.org/268803005/diff/20001/Source/core/svg/SVGDocumentExtensions.cpp#newcode469 > Source/core/svg/SVGDocumentExtensions.cpp:469: SVGSVGElement* > SVGDocumentExtensions::rootElement(const Document& document) > ...
6 years, 7 months ago (2014-05-03 21:52:16 UTC) #4
rwlbuis
On 2014/05/03 21:35:30, pdr wrote: > I like where this is heading. > > https://codereview.chromium.org/268803005/diff/20001/Source/core/page/EventHandler.cpp ...
6 years, 7 months ago (2014-05-03 21:57:11 UTC) #5
pdr.
On 2014/05/03 21:52:16, rwlbuis wrote: > On 2014/05/03 21:35:30, pdr wrote: > > > https://codereview.chromium.org/268803005/diff/20001/Source/core/svg/SVGDocumentExtensions.cpp#newcode469 ...
6 years, 7 months ago (2014-05-05 17:37:58 UTC) #6
rwlbuis
On 2014/05/05 17:37:58, pdr wrote: > On 2014/05/03 21:52:16, rwlbuis wrote: > > I just ...
6 years, 7 months ago (2014-05-05 19:06:59 UTC) #7
pdr.
On 2014/05/05 19:06:59, rwlbuis wrote: > On 2014/05/05 17:37:58, pdr wrote: > > On 2014/05/03 ...
6 years, 7 months ago (2014-05-05 19:49:17 UTC) #8
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 7 months ago (2014-05-05 19:55:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/268803005/60001
6 years, 7 months ago (2014-05-05 19:55:33 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-05 21:07:11 UTC) #11
Message was sent while issue was closed.
Change committed as 173338

Powered by Google App Engine
This is Rietveld 408576698