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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAnchorElement.h

Issue 2043863003: Speculatively launch Service Workers on mouse/touch events. [1/5] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DECLARE_VIRTUAL_TRACE_WRAPPERS Created 4 years, 6 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/html/HTMLAnchorElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.h b/third_party/WebKit/Source/core/html/HTMLAnchorElement.h
index b52ddc4dc5c089292da7c1a84053a602c47244e0..4abd047e884595331c754092f443880f9932b972 100644
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.h
@@ -87,6 +87,9 @@ public:
void sendPings(const KURL& destinationURL) const;
+ DECLARE_VIRTUAL_TRACE();
+ DECLARE_VIRTUAL_TRACE_WRAPPERS();
kouhei (in TOK) 2016/06/09 08:01:19 Looks still present
horo 2016/06/09 08:20:46 Oops! Done.
+
protected:
HTMLAnchorElement(const QualifiedName&, Document&);
@@ -95,6 +98,8 @@ protected:
bool matchesEnabledPseudoClass() const override;
private:
+ class NavigationHintSender;
+
bool shouldHaveFocusAppearance() const final;
void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType, InputDeviceCapabilities* sourceCapabilities) override;
void dispatchBlurEvent(Element* newFocusedElement, WebFocusType, InputDeviceCapabilities* sourceCapabilities) override;
@@ -111,10 +116,12 @@ private:
bool isInteractiveContent() const final;
InsertionNotificationRequest insertedInto(ContainerNode*) override;
void handleClick(Event*);
+ NavigationHintSender* ensureNavigationHintSender();
uint32_t m_linkRelations;
mutable LinkHash m_cachedVisitedLinkHash;
bool m_wasFocusedByMouse;
+ Member<NavigationHintSender> m_navigationHintsender;
};
inline LinkHash HTMLAnchorElement::visitedLinkHash() const

Powered by Google App Engine
This is Rietveld 408576698