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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2668903003: Replace WTF::emptyString{16Bit}() with a static global (Closed)
Patch Set: Replace WTF::emptyString{16Bit}() with a static global Created 3 years, 10 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 981
982 void updateFocusAppearanceLater(); 982 void updateFocusAppearanceLater();
983 void cancelFocusAppearanceUpdate(); 983 void cancelFocusAppearanceUpdate();
984 984
985 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; } 985 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; }
986 void parseDNSPrefetchControlHeader(const String&); 986 void parseDNSPrefetchControlHeader(const String&);
987 987
988 void postTask(TaskType, 988 void postTask(TaskType,
989 const WebTraceLocation&, 989 const WebTraceLocation&,
990 std::unique_ptr<ExecutionContextTask>, 990 std::unique_ptr<ExecutionContextTask>,
991 const String& taskNameForInstrumentation = emptyString()) 991 const String& taskNameForInstrumentation = emptyString)
992 override; // Executes the task on context's thread asynchronously. 992 override; // Executes the task on context's thread asynchronously.
993 993
994 void tasksWereSuspended() final; 994 void tasksWereSuspended() final;
995 void tasksWereResumed() final; 995 void tasksWereResumed() final;
996 bool tasksNeedSuspension() final; 996 bool tasksNeedSuspension() final;
997 997
998 void finishedParsing(); 998 void finishedParsing();
999 999
1000 void setEncodingData(const DocumentEncodingData& newData); 1000 void setEncodingData(const DocumentEncodingData& newData);
1001 const WTF::TextEncoding& encoding() const { 1001 const WTF::TextEncoding& encoding() const {
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1722 1722
1723 } // namespace blink 1723 } // namespace blink
1724 1724
1725 #ifndef NDEBUG 1725 #ifndef NDEBUG
1726 // Outside the WebCore namespace for ease of invocation from gdb. 1726 // Outside the WebCore namespace for ease of invocation from gdb.
1727 CORE_EXPORT void showLiveDocumentInstances(); 1727 CORE_EXPORT void showLiveDocumentInstances();
1728 #endif 1728 #endif
1729 1729
1730 #endif // Document_h 1730 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMURLUtilsReadOnly.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698