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

Side by Side Diff: third_party/WebKit/Source/core/dom/ScriptLoader.cpp

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> 7 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "core/html/imports/HTMLImport.h" 45 #include "core/html/imports/HTMLImport.h"
46 #include "core/html/parser/HTMLParserIdioms.h" 46 #include "core/html/parser/HTMLParserIdioms.h"
47 #include "core/inspector/ConsoleMessage.h" 47 #include "core/inspector/ConsoleMessage.h"
48 #include "platform/WebFrameScheduler.h" 48 #include "platform/WebFrameScheduler.h"
49 #include "platform/loader/fetch/AccessControlStatus.h" 49 #include "platform/loader/fetch/AccessControlStatus.h"
50 #include "platform/loader/fetch/FetchRequest.h" 50 #include "platform/loader/fetch/FetchRequest.h"
51 #include "platform/loader/fetch/MemoryCache.h" 51 #include "platform/loader/fetch/MemoryCache.h"
52 #include "platform/loader/fetch/ResourceFetcher.h" 52 #include "platform/loader/fetch/ResourceFetcher.h"
53 #include "platform/network/mime/MIMETypeRegistry.h" 53 #include "platform/network/mime/MIMETypeRegistry.h"
54 #include "platform/weborigin/SecurityOrigin.h" 54 #include "platform/weborigin/SecurityOrigin.h"
55 #include "platform/wtf/StdLibExtras.h"
56 #include "platform/wtf/text/StringBuilder.h"
57 #include "platform/wtf/text/StringHash.h"
55 #include "public/platform/WebCachePolicy.h" 58 #include "public/platform/WebCachePolicy.h"
56 #include "wtf/StdLibExtras.h"
57 #include "wtf/text/StringBuilder.h"
58 #include "wtf/text/StringHash.h"
59 59
60 namespace blink { 60 namespace blink {
61 61
62 ScriptLoader::ScriptLoader(ScriptElementBase* element, 62 ScriptLoader::ScriptLoader(ScriptElementBase* element,
63 bool parser_inserted, 63 bool parser_inserted,
64 bool already_started, 64 bool already_started,
65 bool created_during_document_write) 65 bool created_during_document_write)
66 : element_(element), 66 : element_(element),
67 start_line_number_(WTF::OrdinalNumber::BeforeFirst()), 67 start_line_number_(WTF::OrdinalNumber::BeforeFirst()),
68 have_fired_load_(false), 68 have_fired_load_(false),
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 // then abort these steps at this point. The script is not executed. 847 // then abort these steps at this point. The script is not executed.
848 return DeprecatedEqualIgnoringCase(event_attribute, "onload") || 848 return DeprecatedEqualIgnoringCase(event_attribute, "onload") ||
849 DeprecatedEqualIgnoringCase(event_attribute, "onload()"); 849 DeprecatedEqualIgnoringCase(event_attribute, "onload()");
850 } 850 }
851 851
852 String ScriptLoader::ScriptContent() const { 852 String ScriptLoader::ScriptContent() const {
853 return element_->TextFromChildren(); 853 return element_->TextFromChildren();
854 } 854 }
855 855
856 } // namespace blink 856 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptLoader.h ('k') | third_party/WebKit/Source/core/dom/ScriptModuleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698