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

Side by Side Diff: Source/core/dom/Element.h

Issue 122993002: Make calls to AtomicString(const String&) explicit in web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use AtomicString type for frameName and target Created 6 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
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/html/HTMLAnchorElement.h » ('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) 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) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 368
369 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } 369 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { }
370 370
371 virtual bool isURLAttribute(const Attribute&) const { return false; } 371 virtual bool isURLAttribute(const Attribute&) const { return false; }
372 virtual bool isHTMLContentAttribute(const Attribute&) const { return false; } 372 virtual bool isHTMLContentAttribute(const Attribute&) const { return false; }
373 373
374 KURL getURLAttribute(const QualifiedName&) const; 374 KURL getURLAttribute(const QualifiedName&) const;
375 KURL getNonEmptyURLAttribute(const QualifiedName&) const; 375 KURL getNonEmptyURLAttribute(const QualifiedName&) const;
376 376
377 virtual const AtomicString imageSourceURL() const; 377 virtual const AtomicString imageSourceURL() const;
378 virtual String target() const { return String(); } 378 virtual AtomicString target() const { return nullAtom; }
379 virtual Image* imageContents() { return 0; } 379 virtual Image* imageContents() { return 0; }
380 380
381 virtual void focus(bool restorePreviousSelection = true, FocusDirection = Fo cusDirectionNone); 381 virtual void focus(bool restorePreviousSelection = true, FocusDirection = Fo cusDirectionNone);
382 virtual void updateFocusAppearance(bool restorePreviousSelection); 382 virtual void updateFocusAppearance(bool restorePreviousSelection);
383 virtual void blur(); 383 virtual void blur();
384 // Whether this element can receive focus at all. Most elements are not 384 // Whether this element can receive focus at all. Most elements are not
385 // focusable but some elements, such as form controls and links, are. Unlike 385 // focusable but some elements, such as form controls and links, are. Unlike
386 // rendererIsFocusable(), this method may be called when layout is not up to 386 // rendererIsFocusable(), this method may be called when layout is not up to
387 // date, so it must not use the renderer to determine focusability. 387 // date, so it must not use the renderer to determine focusability.
388 virtual bool supportsFocus() const; 388 virtual bool supportsFocus() const;
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 } 896 }
897 897
898 inline bool isShadowHost(const Element* element) 898 inline bool isShadowHost(const Element* element)
899 { 899 {
900 return element && element->shadow(); 900 return element && element->shadow();
901 } 901 }
902 902
903 } // namespace 903 } // namespace
904 904
905 #endif 905 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/html/HTMLAnchorElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698