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

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

Issue 23742003: Use css-device-adapt constraining for legacy viewport tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More review issues Created 7 years, 3 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 17 matching lines...) Expand all
28 class Element; 28 class Element;
29 class RuleSet; 29 class RuleSet;
30 class StyleSheetContents; 30 class StyleSheetContents;
31 31
32 class CSSDefaultStyleSheets { 32 class CSSDefaultStyleSheets {
33 public: 33 public:
34 static RuleSet* defaultStyle; 34 static RuleSet* defaultStyle;
35 static RuleSet* defaultQuirksStyle; 35 static RuleSet* defaultQuirksStyle;
36 static RuleSet* defaultPrintStyle; 36 static RuleSet* defaultPrintStyle;
37 static RuleSet* defaultViewSourceStyle; 37 static RuleSet* defaultViewSourceStyle;
38 static RuleSet* defaultXHTMLMobileProfileStyle;
38 39
39 static StyleSheetContents* simpleDefaultStyleSheet; 40 static StyleSheetContents* simpleDefaultStyleSheet;
40 static StyleSheetContents* defaultStyleSheet; 41 static StyleSheetContents* defaultStyleSheet;
41 static StyleSheetContents* quirksStyleSheet; 42 static StyleSheetContents* quirksStyleSheet;
42 static StyleSheetContents* svgStyleSheet; 43 static StyleSheetContents* svgStyleSheet;
43 static StyleSheetContents* mathMLStyleSheet; 44 static StyleSheetContents* mathMLStyleSheet;
44 static StyleSheetContents* mediaControlsStyleSheet; 45 static StyleSheetContents* mediaControlsStyleSheet;
45 static StyleSheetContents* fullscreenStyleSheet; 46 static StyleSheetContents* fullscreenStyleSheet;
46 47
47 static void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaul tStyle); 48 static void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaul tStyle);
48 static void loadFullDefaultStyle(); 49 static void loadFullDefaultStyle();
49 static void loadSimpleDefaultStyle(); 50 static void loadSimpleDefaultStyle();
50 static void initDefaultStyle(Element*); 51 static void initDefaultStyle(Element*);
51 static RuleSet* viewSourceStyle(); 52 static RuleSet* viewSourceStyle();
53 static RuleSet* xhtmlMobileProfileStyle();
52 }; 54 };
53 55
54 } // namespace WebCore 56 } // namespace WebCore
55 57
56 #endif // CSSDefaultStyleSheets_h 58 #endif // CSSDefaultStyleSheets_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698