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

Side by Side Diff: Source/core/css/CSSDefaultStyleSheets.h

Issue 138383003: Display MathML fallback content when it is specified and take into account inline/display modes for… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 24 matching lines...) Expand all
35 static RuleSet* defaultViewportStyle; 35 static RuleSet* defaultViewportStyle;
36 static RuleSet* defaultQuirksStyle; 36 static RuleSet* defaultQuirksStyle;
37 static RuleSet* defaultPrintStyle; 37 static RuleSet* defaultPrintStyle;
38 static RuleSet* defaultViewSourceStyle; 38 static RuleSet* defaultViewSourceStyle;
39 static RuleSet* defaultXHTMLMobileProfileStyle; 39 static RuleSet* defaultXHTMLMobileProfileStyle;
40 40
41 static StyleSheetContents* defaultStyleSheet; 41 static StyleSheetContents* defaultStyleSheet;
42 static StyleSheetContents* viewportStyleSheet; 42 static StyleSheetContents* viewportStyleSheet;
43 static StyleSheetContents* quirksStyleSheet; 43 static StyleSheetContents* quirksStyleSheet;
44 static StyleSheetContents* svgStyleSheet; 44 static StyleSheetContents* svgStyleSheet;
45 static StyleSheetContents* mathmlStyleSheet;
45 static StyleSheetContents* mediaControlsStyleSheet; 46 static StyleSheetContents* mediaControlsStyleSheet;
46 static StyleSheetContents* fullscreenStyleSheet; 47 static StyleSheetContents* fullscreenStyleSheet;
47 48
48 static void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaul tStyle); 49 static void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaul tStyle);
49 // FIXME: defaultStyleSheet should have an accessor which incorporates this branch: 50 // FIXME: defaultStyleSheet should have an accessor which incorporates this branch:
50 static void loadDefaultStylesheetIfNecessary(); 51 static void loadDefaultStylesheetIfNecessary();
51 52
52 static RuleSet* viewSourceStyle(); 53 static RuleSet* viewSourceStyle();
53 54
54 // FIXME: Remove WAP support. 55 // FIXME: Remove WAP support.
55 static RuleSet* xhtmlMobileProfileStyle(); 56 static RuleSet* xhtmlMobileProfileStyle();
56 57
57 private: 58 private:
58 static void loadDefaultStyle(); 59 static void loadDefaultStyle();
59 }; 60 };
60 61
61 } // namespace WebCore 62 } // namespace WebCore
62 63
63 #endif // CSSDefaultStyleSheets_h 64 #endif // CSSDefaultStyleSheets_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698