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

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

Issue 455223002: Make anchors mouse-focusable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move m_wasFocusedByMouse into subclasses. 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/rendering/RenderTheme.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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
43 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 43 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
44 44
45 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 45 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
46 46
47 virtual void defaultEventHandler(Event*) OVERRIDE; 47 virtual void defaultEventHandler(Event*) OVERRIDE;
48 48
49 virtual bool isLiveLink() const OVERRIDE { return isLink(); } 49 virtual bool isLiveLink() const OVERRIDE { return isLink(); }
50 50
51 virtual bool supportsFocus() const OVERRIDE; 51 virtual bool supportsFocus() const OVERRIDE;
52 virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL;
53 virtual bool wasFocusedByMouse() const OVERRIDE FINAL;
54 virtual void setWasFocusedByMouse(bool) OVERRIDE FINAL;
52 virtual bool isMouseFocusable() const OVERRIDE; 55 virtual bool isMouseFocusable() const OVERRIDE;
53 virtual bool isKeyboardFocusable() const OVERRIDE; 56 virtual bool isKeyboardFocusable() const OVERRIDE;
54 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 57 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
55 virtual bool canStartSelection() const OVERRIDE; 58 virtual bool canStartSelection() const OVERRIDE;
56 virtual short tabIndex() const OVERRIDE; 59 virtual short tabIndex() const OVERRIDE;
57 60
58 virtual bool willRespondToMouseClickEvents() OVERRIDE; 61 virtual bool willRespondToMouseClickEvents() OVERRIDE;
59 62
60 RefPtr<SVGAnimatedString> m_svgTarget; 63 RefPtr<SVGAnimatedString> m_svgTarget;
64 bool m_wasFocusedByMouse;
61 }; 65 };
62 66
63 } // namespace blink 67 } // namespace blink
64 68
65 #endif // SVGAElement_h 69 #endif // SVGAElement_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698