summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSDefaultStyleSheets.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/css/CSSDefaultStyleSheets.h')
-rw-r--r--Source/WebCore/css/CSSDefaultStyleSheets.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/WebCore/css/CSSDefaultStyleSheets.h b/Source/WebCore/css/CSSDefaultStyleSheets.h
index ccdb1965d..3672ca1af 100644
--- a/Source/WebCore/css/CSSDefaultStyleSheets.h
+++ b/Source/WebCore/css/CSSDefaultStyleSheets.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef CSSDefaultStyleSheets_h
-#define CSSDefaultStyleSheets_h
+#pragma once
namespace WebCore {
@@ -34,7 +33,7 @@ public:
static RuleSet* defaultStyle;
static RuleSet* defaultQuirksStyle;
static RuleSet* defaultPrintStyle;
- static RuleSet* defaultViewSourceStyle;
+ static unsigned defaultStyleVersion;
static StyleSheetContents* simpleDefaultStyleSheet;
static StyleSheetContents* defaultStyleSheet;
@@ -44,14 +43,12 @@ public:
static StyleSheetContents* mediaControlsStyleSheet;
static StyleSheetContents* fullscreenStyleSheet;
static StyleSheetContents* plugInsStyleSheet;
+ static StyleSheetContents* imageControlsStyleSheet;
- static void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle);
+ static void ensureDefaultStyleSheetsForElement(const Element&);
static void loadFullDefaultStyle();
static void loadSimpleDefaultStyle();
- static void initDefaultStyle(Element*);
- static RuleSet* viewSourceStyle();
+ static void initDefaultStyle(const Element*);
};
} // namespace WebCore
-
-#endif // CSSDefaultStyleSheets_h