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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.h

Issue 1754213003: Remove code for deprecated and rotted histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.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) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 OwnPtrWillBeMember<PendingScript> m_parserBlockingScript; 92 OwnPtrWillBeMember<PendingScript> m_parserBlockingScript;
93 // http://www.whatwg.org/specs/web-apps/current-work/#list-of-scripts-that-w ill-execute-when-the-document-has-finished-parsing 93 // http://www.whatwg.org/specs/web-apps/current-work/#list-of-scripts-that-w ill-execute-when-the-document-has-finished-parsing
94 WillBeHeapDeque<OwnPtrWillBeMember<PendingScript>> m_scriptsToExecuteAfterPa rsing; 94 WillBeHeapDeque<OwnPtrWillBeMember<PendingScript>> m_scriptsToExecuteAfterPa rsing;
95 unsigned m_scriptNestingLevel; 95 unsigned m_scriptNestingLevel;
96 96
97 // We only want stylesheet loads to trigger script execution if script 97 // We only want stylesheet loads to trigger script execution if script
98 // execution is currently stopped due to stylesheet loads, otherwise we'd 98 // execution is currently stopped due to stylesheet loads, otherwise we'd
99 // cause nested script execution when parsing <style> tags since </style> 99 // cause nested script execution when parsing <style> tags since </style>
100 // tags can cause Document to call executeScriptsWaitingForResources. 100 // tags can cause Document to call executeScriptsWaitingForResources.
101 bool m_hasScriptsWaitingForResources; 101 bool m_hasScriptsWaitingForResources;
102
103 // For tracking the times between script load and compilation, we need to
104 // know whether a parser blocking script was loaded previously, or whether
105 // it's really loaded when requested.
106 bool m_parserBlockingScriptAlreadyLoaded;
107 }; 102 };
108 103
109 } // namespace blink 104 } // namespace blink
110 105
111 #endif 106 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698