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

Side by Side Diff: Source/core/dom/StyleEngine.h

Issue 736883002: Implement <select> Popup Menu using PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests for mac Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSFontSelector.h ('k') | Source/core/dom/StyleEngine.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) 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 r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 m_resolver->appendPendingAuthorStyleSheets(); 148 m_resolver->appendPendingAuthorStyleSheets();
149 } 149 }
150 return *m_resolver.get(); 150 return *m_resolver.get();
151 } 151 }
152 152
153 bool hasResolver() const { return m_resolver.get(); } 153 bool hasResolver() const { return m_resolver.get(); }
154 void clearResolver(); 154 void clearResolver();
155 void clearMasterResolver(); 155 void clearMasterResolver();
156 156
157 CSSFontSelector* fontSelector() { return m_fontSelector.get(); } 157 CSSFontSelector* fontSelector() { return m_fontSelector.get(); }
158 void setFontSelector(PassRefPtrWillBeRawPtr<CSSFontSelector>);
159
158 void removeFontFaceRules(const WillBeHeapVector<RawPtrWillBeMember<const Sty leRuleFontFace> >&); 160 void removeFontFaceRules(const WillBeHeapVector<RawPtrWillBeMember<const Sty leRuleFontFace> >&);
159 void clearFontCache(); 161 void clearFontCache();
160 // updateGenericFontFamilySettings is used from WebSettingsImpl. 162 // updateGenericFontFamilySettings is used from WebSettingsImpl.
161 void updateGenericFontFamilySettings(); 163 void updateGenericFontFamilySettings();
162 164
163 void didDetach(); 165 void didDetach();
164 bool shouldClearResolver() const; 166 bool shouldClearResolver() const;
165 void resolverChanged(StyleResolverUpdateMode); 167 void resolverChanged(StyleResolverUpdateMode);
166 unsigned resolverAccessCount() const; 168 unsigned resolverAccessCount() const;
167 169
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 297
296 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; 298 RefPtrWillBeMember<CSSFontSelector> m_fontSelector;
297 299
298 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache; 300 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache;
299 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; 301 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache;
300 }; 302 };
301 303
302 } 304 }
303 305
304 #endif 306 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSFontSelector.h ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698