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

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

Issue 1140153006: Remove Navigation Transitions from Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed layout tests. Created 5 years, 7 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
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 23 matching lines...) Expand all
34 class CSSDefaultStyleSheets : public NoBaseWillBeGarbageCollected<CSSDefaultStyl eSheets> { 34 class CSSDefaultStyleSheets : public NoBaseWillBeGarbageCollected<CSSDefaultStyl eSheets> {
35 public: 35 public:
36 static CSSDefaultStyleSheets& instance(); 36 static CSSDefaultStyleSheets& instance();
37 37
38 void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle) ; 38 void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle) ;
39 39
40 RuleSet* defaultStyle() { return m_defaultStyle.get(); } 40 RuleSet* defaultStyle() { return m_defaultStyle.get(); }
41 RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); } 41 RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); }
42 RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); } 42 RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); }
43 RuleSet* defaultViewSourceStyle(); 43 RuleSet* defaultViewSourceStyle();
44 RuleSet* defaultTransitionStyle();
45 RuleSet* defaultMobileViewportStyle(); 44 RuleSet* defaultMobileViewportStyle();
46 45
47 // FIXME: Remove WAP support. 46 // FIXME: Remove WAP support.
48 RuleSet* defaultXHTMLMobileProfileStyle(); 47 RuleSet* defaultXHTMLMobileProfileStyle();
49 48
50 StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); } 49 StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
51 StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); } 50 StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); }
52 StyleSheetContents* svgStyleSheet() { return m_svgStyleSheet.get(); } 51 StyleSheetContents* svgStyleSheet() { return m_svgStyleSheet.get(); }
53 StyleSheetContents* mathmlStyleSheet() { return m_mathmlStyleSheet.get(); } 52 StyleSheetContents* mathmlStyleSheet() { return m_mathmlStyleSheet.get(); }
54 StyleSheetContents* mediaControlsStyleSheet() { return m_mediaControlsStyleS heet.get(); } 53 StyleSheetContents* mediaControlsStyleSheet() { return m_mediaControlsStyleS heet.get(); }
55 StyleSheetContents* fullscreenStyleSheet() { return m_fullscreenStyleSheet.g et(); } 54 StyleSheetContents* fullscreenStyleSheet() { return m_fullscreenStyleSheet.g et(); }
56 55
57 DECLARE_TRACE(); 56 DECLARE_TRACE();
58 57
59 private: 58 private:
60 CSSDefaultStyleSheets(); 59 CSSDefaultStyleSheets();
61 60
62 OwnPtrWillBeMember<RuleSet> m_defaultStyle; 61 OwnPtrWillBeMember<RuleSet> m_defaultStyle;
63 OwnPtrWillBeMember<RuleSet> m_defaultMobileViewportStyle; 62 OwnPtrWillBeMember<RuleSet> m_defaultMobileViewportStyle;
64 OwnPtrWillBeMember<RuleSet> m_defaultQuirksStyle; 63 OwnPtrWillBeMember<RuleSet> m_defaultQuirksStyle;
65 OwnPtrWillBeMember<RuleSet> m_defaultPrintStyle; 64 OwnPtrWillBeMember<RuleSet> m_defaultPrintStyle;
66 OwnPtrWillBeMember<RuleSet> m_defaultViewSourceStyle; 65 OwnPtrWillBeMember<RuleSet> m_defaultViewSourceStyle;
67 OwnPtrWillBeMember<RuleSet> m_defaultXHTMLMobileProfileStyle; 66 OwnPtrWillBeMember<RuleSet> m_defaultXHTMLMobileProfileStyle;
68 OwnPtrWillBeMember<RuleSet> m_defaultTransitionStyle;
69 67
70 RefPtrWillBeMember<StyleSheetContents> m_defaultStyleSheet; 68 RefPtrWillBeMember<StyleSheetContents> m_defaultStyleSheet;
71 RefPtrWillBeMember<StyleSheetContents> m_mobileViewportStyleSheet; 69 RefPtrWillBeMember<StyleSheetContents> m_mobileViewportStyleSheet;
72 RefPtrWillBeMember<StyleSheetContents> m_quirksStyleSheet; 70 RefPtrWillBeMember<StyleSheetContents> m_quirksStyleSheet;
73 RefPtrWillBeMember<StyleSheetContents> m_svgStyleSheet; 71 RefPtrWillBeMember<StyleSheetContents> m_svgStyleSheet;
74 RefPtrWillBeMember<StyleSheetContents> m_mathmlStyleSheet; 72 RefPtrWillBeMember<StyleSheetContents> m_mathmlStyleSheet;
75 RefPtrWillBeMember<StyleSheetContents> m_mediaControlsStyleSheet; 73 RefPtrWillBeMember<StyleSheetContents> m_mediaControlsStyleSheet;
76 RefPtrWillBeMember<StyleSheetContents> m_fullscreenStyleSheet; 74 RefPtrWillBeMember<StyleSheetContents> m_fullscreenStyleSheet;
77 }; 75 };
78 76
79 } // namespace blink 77 } // namespace blink
80 78
81 #endif // CSSDefaultStyleSheets_h 79 #endif // CSSDefaultStyleSheets_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/navigation-transition-expected.txt ('k') | Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698