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

Side by Side Diff: Source/core/page/UseCounter.h

Issue 26489005: Relax HTMLBodyElement's scrollTop/Left property set and get operations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue_290895
Patch Set: Relax HTMLBodyElement's scrollTop/Left property set and get operations. Created 7 years, 2 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 | « Source/core/html/HTMLBodyElement.cpp ('k') | Source/core/page/UseCounter.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) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 DOMNodeInsertedIntoDocumentEvent, 209 DOMNodeInsertedIntoDocumentEvent,
210 DOMCharacterDataModifiedEvent, 210 DOMCharacterDataModifiedEvent,
211 DocumentAllTags, 211 DocumentAllTags,
212 DocumentAllLegacyCall, 212 DocumentAllLegacyCall,
213 HTMLAppletElementLegacyCall, 213 HTMLAppletElementLegacyCall,
214 HTMLEmbedElementLegacyCall, 214 HTMLEmbedElementLegacyCall,
215 HTMLObjectElementLegacyCall, 215 HTMLObjectElementLegacyCall,
216 BeforeLoadEvent, 216 BeforeLoadEvent,
217 GetMatchedCSSRules, 217 GetMatchedCSSRules,
218 SVGFontInCSS, 218 SVGFontInCSS,
219 ScrollTopBody,
220 ScrollLeftBody,
219 // Add new features immediately above this line. Don't change assigned 221 // Add new features immediately above this line. Don't change assigned
220 // numbers of each items, and don't reuse unused slots. 222 // numbers of each items, and don't reuse unused slots.
221 NumberOfFeatures, // This enum value must be last. 223 NumberOfFeatures, // This enum value must be last.
222 }; 224 };
223 225
224 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 226 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
225 static void count(Document*, Feature); 227 static void count(Document*, Feature);
226 static void count(DOMWindow*, Feature); 228 static void count(DOMWindow*, Feature);
227 void count(CSSParserContext, CSSPropertyID); 229 void count(CSSParserContext, CSSPropertyID);
228 void count(Feature); 230 void count(Feature);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 266
265 void updateMeasurements(); 267 void updateMeasurements();
266 268
267 OwnPtr<BitVector> m_countBits; 269 OwnPtr<BitVector> m_countBits;
268 BitVector m_CSSFeatureBits; 270 BitVector m_CSSFeatureBits;
269 }; 271 };
270 272
271 } // namespace WebCore 273 } // namespace WebCore
272 274
273 #endif // UseCounter_h 275 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLBodyElement.cpp ('k') | Source/core/page/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698