summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSDefaultStyleSheets.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/css/CSSDefaultStyleSheets.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
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