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

Side by Side Diff: Source/core/svg/SVGAElement.h

Issue 562653002: Do not reset mouse focus flag on keydown at anchor elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add regression test (click-focus-keydown-no-ring) Created 6 years, 3 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
« no previous file with comments | « Source/core/html/HTMLFormControlElement.cpp ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 44 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
45 45
46 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 46 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
47 47
48 virtual void defaultEventHandler(Event*) OVERRIDE; 48 virtual void defaultEventHandler(Event*) OVERRIDE;
49 49
50 virtual bool isLiveLink() const OVERRIDE { return isLink(); } 50 virtual bool isLiveLink() const OVERRIDE { return isLink(); }
51 51
52 virtual bool supportsFocus() const OVERRIDE; 52 virtual bool supportsFocus() const OVERRIDE;
53 virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL; 53 virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL;
54 virtual bool wasFocusedByMouse() const OVERRIDE FINAL; 54 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERR IDE;
55 virtual void setWasFocusedByMouse(bool) OVERRIDE FINAL;
56 virtual bool isMouseFocusable() const OVERRIDE; 55 virtual bool isMouseFocusable() const OVERRIDE;
57 virtual bool isKeyboardFocusable() const OVERRIDE; 56 virtual bool isKeyboardFocusable() const OVERRIDE;
58 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 57 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
59 virtual bool canStartSelection() const OVERRIDE; 58 virtual bool canStartSelection() const OVERRIDE;
60 virtual short tabIndex() const OVERRIDE; 59 virtual short tabIndex() const OVERRIDE;
61 60
62 virtual bool willRespondToMouseClickEvents() OVERRIDE; 61 virtual bool willRespondToMouseClickEvents() OVERRIDE;
63 62
64 RefPtr<SVGAnimatedString> m_svgTarget; 63 RefPtr<SVGAnimatedString> m_svgTarget;
65 bool m_wasFocusedByMouse; 64 bool m_wasFocusedByMouse;
66 }; 65 };
67 66
68 } // namespace blink 67 } // namespace blink
69 68
70 #endif // SVGAElement_h 69 #endif // SVGAElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFormControlElement.cpp ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698