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

Side by Side Diff: Source/core/svg/SVGStyledElement.cpp

Issue 18053005: Introduce SVGGraphicsElement IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 } 419 }
420 420
421 void SVGStyledElement::setInstanceUpdatesBlocked(bool value) 421 void SVGStyledElement::setInstanceUpdatesBlocked(bool value)
422 { 422 {
423 if (hasSVGRareData()) 423 if (hasSVGRareData())
424 svgRareData()->setInstanceUpdatesBlocked(value); 424 svgRareData()->setInstanceUpdatesBlocked(value);
425 } 425 }
426 426
427 AffineTransform SVGStyledElement::localCoordinateSpaceTransform(SVGLocatable::CT MScope) const 427 AffineTransform SVGStyledElement::localCoordinateSpaceTransform(SVGLocatable::CT MScope) const
428 { 428 {
429 // To be overriden by SVGStyledLocatableElement/SVGStyledTransformableElemen t (or as special case SVGTextElement and SVGPatternElement) 429 // To be overriden by SVGStyledLocatableElement/SVGGraphicsElement (or as sp ecial case SVGTextElement and SVGPatternElement)
430 return AffineTransform(); 430 return AffineTransform();
431 } 431 }
432 432
433 void SVGStyledElement::updateRelativeLengthsInformation(bool hasRelativeLengths, SVGStyledElement* element) 433 void SVGStyledElement::updateRelativeLengthsInformation(bool hasRelativeLengths, SVGStyledElement* element)
434 { 434 {
435 // If we're not yet in a document, this function will be called again from i nsertedInto(). Do nothing now. 435 // If we're not yet in a document, this function will be called again from i nsertedInto(). Do nothing now.
436 if (!inDocument()) 436 if (!inDocument())
437 return; 437 return;
438 438
439 // An element wants to notify us that its own relative lengths state changed . 439 // An element wants to notify us that its own relative lengths state changed .
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 Element* eventTarget = const_cast<SVGStyledElement *>(this); 476 Element* eventTarget = const_cast<SVGStyledElement *>(this);
477 return eventTarget->hasEventListeners(eventNames().focusinEvent) || eventTar get->hasEventListeners(eventNames().focusoutEvent); 477 return eventTarget->hasEventListeners(eventNames().focusinEvent) || eventTar get->hasEventListeners(eventNames().focusoutEvent);
478 } 478 }
479 479
480 bool SVGStyledElement::isKeyboardFocusable(KeyboardEvent*) const 480 bool SVGStyledElement::isKeyboardFocusable(KeyboardEvent*) const
481 { 481 {
482 return isMouseFocusable(); 482 return isMouseFocusable();
483 } 483 }
484 484
485 } 485 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698