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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void svgAttributeChanged(const QualifiedName&) override; 47 void svgAttributeChanged(const QualifiedName&) override;
48 48
49 LayoutObject* createLayoutObject(const ComputedStyle&) override; 49 LayoutObject* createLayoutObject(const ComputedStyle&) override;
50 50
51 void defaultEventHandler(Event*) override; 51 void defaultEventHandler(Event*) override;
52 52
53 bool isLiveLink() const override { return isLink(); } 53 bool isLiveLink() const override { return isLink(); }
54 54
55 bool supportsFocus() const override; 55 bool supportsFocus() const override;
56 bool shouldHaveFocusAppearance() const final; 56 bool shouldHaveFocusAppearance() const final;
57 void dispatchFocusEvent(Element* oldFocusedElement, 57 void dispatchFocusEvent(
58 WebFocusType, 58 Element* oldFocusedElement,
59 InputDeviceCapabilities* sourceCapabilities) override; 59 WebFocusType,
60 void dispatchBlurEvent(Element* newFocusedElement, 60 const InputDeviceCapabilitiesValue& sourceCapabilities) override;
61 WebFocusType, 61 void dispatchBlurEvent(
62 InputDeviceCapabilities* sourceCapabilities) override; 62 Element* newFocusedElement,
63 WebFocusType,
64 const InputDeviceCapabilitiesValue& sourceCapabilities) override;
63 bool isMouseFocusable() const override; 65 bool isMouseFocusable() const override;
64 bool isKeyboardFocusable() const override; 66 bool isKeyboardFocusable() const override;
65 bool isURLAttribute(const Attribute&) const override; 67 bool isURLAttribute(const Attribute&) const override;
66 bool canStartSelection() const override; 68 bool canStartSelection() const override;
67 int tabIndex() const override; 69 int tabIndex() const override;
68 70
69 bool willRespondToMouseClickEvents() override; 71 bool willRespondToMouseClickEvents() override;
70 72
71 Member<SVGAnimatedString> m_svgTarget; 73 Member<SVGAnimatedString> m_svgTarget;
72 bool m_wasFocusedByMouse; 74 bool m_wasFocusedByMouse;
73 }; 75 };
74 76
75 } // namespace blink 77 } // namespace blink
76 78
77 #endif // SVGAElement_h 79 #endif // SVGAElement_h
OLDNEW
« 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