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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp

Issue 2058613002: Move WTF string to number converter functions to StringToNumber.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing files. 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 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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 15 matching lines...) Expand all
26 #include "core/dom/Document.h" 26 #include "core/dom/Document.h"
27 #include "core/dom/ElementTraversal.h" 27 #include "core/dom/ElementTraversal.h"
28 #include "core/frame/LocalFrame.h" 28 #include "core/frame/LocalFrame.h"
29 #include "core/frame/Settings.h" 29 #include "core/frame/Settings.h"
30 #include "core/html/HTMLHeadElement.h" 30 #include "core/html/HTMLHeadElement.h"
31 #include "core/html/parser/HTMLParserIdioms.h" 31 #include "core/html/parser/HTMLParserIdioms.h"
32 #include "core/inspector/ConsoleMessage.h" 32 #include "core/inspector/ConsoleMessage.h"
33 #include "core/loader/FrameLoaderClient.h" 33 #include "core/loader/FrameLoaderClient.h"
34 #include "core/loader/HttpEquiv.h" 34 #include "core/loader/HttpEquiv.h"
35 #include "platform/RuntimeEnabledFeatures.h" 35 #include "platform/RuntimeEnabledFeatures.h"
36 #include "wtf/text/StringToNumber.h"
36 37
37 namespace blink { 38 namespace blink {
38 39
39 #define DEFINE_ARRAY_FOR_MATCHING(name, source, maxMatchLength) \ 40 #define DEFINE_ARRAY_FOR_MATCHING(name, source, maxMatchLength) \
40 const UChar* name; \ 41 const UChar* name; \
41 const unsigned uMaxMatchLength = maxMatchLength; \ 42 const unsigned uMaxMatchLength = maxMatchLength; \
42 UChar characterBuffer[uMaxMatchLength]; \ 43 UChar characterBuffer[uMaxMatchLength]; \
43 if (!source.is8Bit()) { \ 44 if (!source.is8Bit()) { \
44 name = source.characters16(); \ 45 name = source.characters16(); \
45 } else { \ 46 } else { \
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 { 514 {
514 return getAttribute(http_equivAttr); 515 return getAttribute(http_equivAttr);
515 } 516 }
516 517
517 const AtomicString& HTMLMetaElement::name() const 518 const AtomicString& HTMLMetaElement::name() const
518 { 519 {
519 return getNameAttribute(); 520 return getNameAttribute();
520 } 521 }
521 522
522 } 523 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698