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

Side by Side Diff: Source/core/css/resolver/StyleResolver.h

Issue 921833003: Expose APIs for text track settings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and added a test to verify behavior of internal settings Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, cons t LayoutStyle* parentStyle, StyleResolverState&); 253 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, cons t LayoutStyle* parentStyle, StyleResolverState&);
254 254
255 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElement(Element* parent, P seudoId); 255 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElement(Element* parent, P seudoId);
256 256
257 Document& document() { return *m_document; } 257 Document& document() { return *m_document; }
258 258
259 static LayoutStyle* s_styleNotYetAvailable; 259 static LayoutStyle* s_styleNotYetAvailable;
260 260
261 void cacheBorderAndBackground(); 261 void cacheBorderAndBackground();
262 262
263 bool shouldIgnoreTextTrackAuthorStyle();
philipj_slow 2015/03/26 05:24:36 Oh wait, this doesn't need to be in the header, it
srivats 2015/03/26 06:37:46 Done.
264
263 MatchedPropertiesCache m_matchedPropertiesCache; 265 MatchedPropertiesCache m_matchedPropertiesCache;
264 266
265 OwnPtr<MediaQueryEvaluator> m_medium; 267 OwnPtr<MediaQueryEvaluator> m_medium;
266 MediaQueryResultList m_viewportDependentMediaQueryResults; 268 MediaQueryResultList m_viewportDependentMediaQueryResults;
267 269
268 RawPtrWillBeMember<Document> m_document; 270 RawPtrWillBeMember<Document> m_document;
269 SelectorFilter m_selectorFilter; 271 SelectorFilter m_selectorFilter;
270 272
271 OwnPtrWillBeMember<ViewportStyleResolver> m_viewportStyleResolver; 273 OwnPtrWillBeMember<ViewportStyleResolver> m_viewportStyleResolver;
272 274
(...skipping 19 matching lines...) Expand all
292 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 294 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
293 unsigned m_styleResolverStatsSequence; 295 unsigned m_styleResolverStatsSequence;
294 296
295 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 297 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
296 unsigned m_accessCount; 298 unsigned m_accessCount;
297 }; 299 };
298 300
299 } // namespace blink 301 } // namespace blink
300 302
301 #endif // StyleResolver_h 303 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698