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

Side by Side Diff: sky/engine/core/dom/Element.h

Issue 706403002: Remove all the now dead Locale code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/Element.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) 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-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class ClientRectList; 45 class ClientRectList;
46 class CustomElementDefinition; 46 class CustomElementDefinition;
47 class DOMTokenList; 47 class DOMTokenList;
48 class Document; 48 class Document;
49 class ElementRareData; 49 class ElementRareData;
50 class ElementShadow; 50 class ElementShadow;
51 class ExceptionState; 51 class ExceptionState;
52 class Image; 52 class Image;
53 class InputMethodContext; 53 class InputMethodContext;
54 class IntSize; 54 class IntSize;
55 class Locale;
56 class MutableStylePropertySet; 55 class MutableStylePropertySet;
57 class PropertySetCSSStyleDeclaration; 56 class PropertySetCSSStyleDeclaration;
58 class PseudoElement; 57 class PseudoElement;
59 class ShadowRoot; 58 class ShadowRoot;
60 class StylePropertySet; 59 class StylePropertySet;
61 60
62 enum SpellcheckAttributeState { 61 enum SpellcheckAttributeState {
63 SpellcheckAttributeTrue, 62 SpellcheckAttributeTrue,
64 SpellcheckAttributeFalse, 63 SpellcheckAttributeFalse,
65 SpellcheckAttributeDefault 64 SpellcheckAttributeDefault
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 ShadowRoot* youngestShadowRoot() const; 214 ShadowRoot* youngestShadowRoot() const;
216 215
217 bool hasAuthorShadowRoot() const { return shadowRoot(); } 216 bool hasAuthorShadowRoot() const { return shadowRoot(); }
218 217
219 RenderStyle* computedStyle(PseudoId = NOPSEUDO); 218 RenderStyle* computedStyle(PseudoId = NOPSEUDO);
220 219
221 bool isUpgradedCustomElement() { return customElementState() == Upgraded; } 220 bool isUpgradedCustomElement() { return customElementState() == Upgraded; }
222 bool isUnresolvedCustomElement() { return customElementState() == WaitingFor Upgrade; } 221 bool isUnresolvedCustomElement() { return customElementState() == WaitingFor Upgrade; }
223 222
224 AtomicString computeInheritedLanguage() const; 223 AtomicString computeInheritedLanguage() const;
225 Locale& locale() const;
226 224
227 virtual bool isURLAttribute(const Attribute&) const { return false; } 225 virtual bool isURLAttribute(const Attribute&) const { return false; }
228 226
229 virtual bool isLiveLink() const { return false; } 227 virtual bool isLiveLink() const { return false; }
230 KURL hrefURL() const; 228 KURL hrefURL() const;
231 229
232 KURL getURLAttribute(const QualifiedName&) const; 230 KURL getURLAttribute(const QualifiedName&) const;
233 KURL getNonEmptyURLAttribute(const QualifiedName&) const; 231 KURL getNonEmptyURLAttribute(const QualifiedName&) const;
234 232
235 virtual const AtomicString imageSourceURL() const; 233 virtual const AtomicString imageSourceURL() const;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 static PassRefPtr<T> create(const QualifiedName&, Document&) 592 static PassRefPtr<T> create(const QualifiedName&, Document&)
595 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 593 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
596 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 594 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \
597 { \ 595 { \
598 return adoptRef(new T(tagName, document)); \ 596 return adoptRef(new T(tagName, document)); \
599 } 597 }
600 598
601 } // namespace 599 } // namespace
602 600
603 #endif // Element_h 601 #endif // Element_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698