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

Unified Diff: Source/core/svg/SVGDocument.cpp

Issue 241643006: Remove more dead code from core/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGDocument.h ('k') | Source/core/workers/WorkerThread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGDocument.cpp
diff --git a/Source/core/svg/SVGDocument.cpp b/Source/core/svg/SVGDocument.cpp
index 10ac8e685b6e47d164fe2316b75331324053274f..8f972d2a5b1c71601e0b03a20a4387099dd7d6b4 100644
--- a/Source/core/svg/SVGDocument.cpp
+++ b/Source/core/svg/SVGDocument.cpp
@@ -49,22 +49,6 @@ SVGSVGElement* SVGDocument::rootElement() const
return rootElement(*this);
}
-void SVGDocument::dispatchZoomEvent(float prevScale, float newScale)
-{
- RefPtrWillBeRawPtr<SVGZoomEvent> event = SVGZoomEvent::create();
- event->initEvent(EventTypeNames::zoom, true, false);
- event->setPreviousScale(prevScale);
- event->setNewScale(newScale);
- rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION);
-}
-
-void SVGDocument::dispatchScrollEvent()
-{
- RefPtrWillBeRawPtr<Event> event = Event::create();
- event->initEvent(EventTypeNames::scroll, true, false);
- rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION);
-}
-
bool SVGDocument::zoomAndPanEnabled() const
{
if (SVGSVGElement* svg = rootElement()) {
« no previous file with comments | « Source/core/svg/SVGDocument.h ('k') | Source/core/workers/WorkerThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698