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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 3 years, 12 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Simon Hausmann <hausmann@kde.org> 4 * (C) 2000 Simon Hausmann <hausmann@kde.org>
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 return Element::tabIndex(); 365 return Element::tabIndex();
366 } 366 }
367 367
368 bool HTMLAnchorElement::isLiveLink() const { 368 bool HTMLAnchorElement::isLiveLink() const {
369 return isLink() && !hasEditableStyle(*this); 369 return isLink() && !hasEditableStyle(*this);
370 } 370 }
371 371
372 void HTMLAnchorElement::sendPings(const KURL& destinationURL) const { 372 void HTMLAnchorElement::sendPings(const KURL& destinationURL) const {
373 const AtomicString& pingValue = getAttribute(pingAttr); 373 const AtomicString& pingValue = getAttribute(pingAttr);
374 if (pingValue.isNull() || !document().settings() || 374 if (pingValue.isNull() || !document().settings() ||
375 !document().settings()->hyperlinkAuditingEnabled()) 375 !document().settings()->GetHyperlinkAuditingEnabled())
376 return; 376 return;
377 377
378 UseCounter::count(document(), UseCounter::HTMLAnchorElementPingAttribute); 378 UseCounter::count(document(), UseCounter::HTMLAnchorElementPingAttribute);
379 379
380 SpaceSplitString pingURLs(pingValue, SpaceSplitString::ShouldNotFoldCase); 380 SpaceSplitString pingURLs(pingValue, SpaceSplitString::ShouldNotFoldCase);
381 for (unsigned i = 0; i < pingURLs.size(); i++) 381 for (unsigned i = 0; i < pingURLs.size(); i++)
382 PingLoader::sendLinkAuditPing(document().frame(), 382 PingLoader::sendLinkAuditPing(document().frame(),
383 document().completeURL(pingURLs[i]), 383 document().completeURL(pingURLs[i]),
384 destinationURL); 384 destinationURL);
385 } 385 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 } 476 }
477 477
478 HTMLAnchorElement::NavigationHintSender* 478 HTMLAnchorElement::NavigationHintSender*
479 HTMLAnchorElement::ensureNavigationHintSender() { 479 HTMLAnchorElement::ensureNavigationHintSender() {
480 if (!m_navigationHintSender) 480 if (!m_navigationHintSender)
481 m_navigationHintSender = NavigationHintSender::create(this); 481 m_navigationHintSender = NavigationHintSender::create(this);
482 return m_navigationHintSender; 482 return m_navigationHintSender;
483 } 483 }
484 484
485 } // namespace blink 485 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698