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

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: Only get prefix and no capitalization. Created 3 years, 11 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 return Element::tabIndex(); 374 return Element::tabIndex();
375 } 375 }
376 376
377 bool HTMLAnchorElement::isLiveLink() const { 377 bool HTMLAnchorElement::isLiveLink() const {
378 return isLink() && !hasEditableStyle(*this); 378 return isLink() && !hasEditableStyle(*this);
379 } 379 }
380 380
381 void HTMLAnchorElement::sendPings(const KURL& destinationURL) const { 381 void HTMLAnchorElement::sendPings(const KURL& destinationURL) const {
382 const AtomicString& pingValue = getAttribute(pingAttr); 382 const AtomicString& pingValue = getAttribute(pingAttr);
383 if (pingValue.isNull() || !document().settings() || 383 if (pingValue.isNull() || !document().settings() ||
384 !document().settings()->hyperlinkAuditingEnabled()) 384 !document().settings()->getHyperlinkAuditingEnabled())
385 return; 385 return;
386 386
387 UseCounter::count(document(), UseCounter::HTMLAnchorElementPingAttribute); 387 UseCounter::count(document(), UseCounter::HTMLAnchorElementPingAttribute);
388 388
389 SpaceSplitString pingURLs(pingValue, SpaceSplitString::ShouldNotFoldCase); 389 SpaceSplitString pingURLs(pingValue, SpaceSplitString::ShouldNotFoldCase);
390 for (unsigned i = 0; i < pingURLs.size(); i++) 390 for (unsigned i = 0; i < pingURLs.size(); i++)
391 PingLoader::sendLinkAuditPing(document().frame(), 391 PingLoader::sendLinkAuditPing(document().frame(),
392 document().completeURL(pingURLs[i]), 392 document().completeURL(pingURLs[i]),
393 destinationURL); 393 destinationURL);
394 } 394 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 } 485 }
486 486
487 HTMLAnchorElement::NavigationHintSender* 487 HTMLAnchorElement::NavigationHintSender*
488 HTMLAnchorElement::ensureNavigationHintSender() { 488 HTMLAnchorElement::ensureNavigationHintSender() {
489 if (!m_navigationHintSender) 489 if (!m_navigationHintSender)
490 m_navigationHintSender = NavigationHintSender::create(this); 490 m_navigationHintSender = NavigationHintSender::create(this);
491 return m_navigationHintSender; 491 return m_navigationHintSender;
492 } 492 }
493 493
494 } // namespace blink 494 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698