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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAElement.h

Issue 2678683002: Delay instantiating InputDeviceCapabilities until accessed. (Closed)
Patch Set: rebased Created 3 years, 10 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
Index: third_party/WebKit/Source/core/svg/SVGAElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAElement.h b/third_party/WebKit/Source/core/svg/SVGAElement.h
index a63cf79178bbb836665840652fb457a64dfcff0c..48b27962f6a29fa43e827f639ade372095041284 100644
--- a/third_party/WebKit/Source/core/svg/SVGAElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGAElement.h
@@ -54,12 +54,14 @@ class CORE_EXPORT SVGAElement final : public SVGGraphicsElement,
bool supportsFocus() const override;
bool shouldHaveFocusAppearance() const final;
- void dispatchFocusEvent(Element* oldFocusedElement,
- WebFocusType,
- InputDeviceCapabilities* sourceCapabilities) override;
- void dispatchBlurEvent(Element* newFocusedElement,
- WebFocusType,
- InputDeviceCapabilities* sourceCapabilities) override;
+ void dispatchFocusEvent(
+ Element* oldFocusedElement,
+ WebFocusType,
+ const InputDeviceCapabilitiesValue& sourceCapabilities) override;
+ void dispatchBlurEvent(
+ Element* newFocusedElement,
+ WebFocusType,
+ const InputDeviceCapabilitiesValue& sourceCapabilities) override;
bool isMouseFocusable() const override;
bool isKeyboardFocusable() const override;
bool isURLAttribute(const Attribute&) const override;
« no previous file with comments | « third_party/WebKit/Source/core/page/FocusController.cpp ('k') | third_party/WebKit/Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698