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

Side by Side Diff: sky/engine/core/dom/Document.h

Issue 778743003: Merge StyleSheet into CSSStyleSheet. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: sort headers. Created 6 years 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
« no previous file with comments | « sky/engine/core/css/StyleSheetList.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 class RequestAnimationFrameCallback; 110 class RequestAnimationFrameCallback;
111 class ResourceFetcher; 111 class ResourceFetcher;
112 class ScriptRunner; 112 class ScriptRunner;
113 class ScriptedAnimationController; 113 class ScriptedAnimationController;
114 class SegmentedString; 114 class SegmentedString;
115 class SelectorQueryCache; 115 class SelectorQueryCache;
116 class SerializedScriptValue; 116 class SerializedScriptValue;
117 class Settings; 117 class Settings;
118 class StyleEngine; 118 class StyleEngine;
119 class StyleResolver; 119 class StyleResolver;
120 class StyleSheet;
121 class StyleSheetList; 120 class StyleSheetList;
122 class Text; 121 class Text;
123 class Touch; 122 class Touch;
124 class TouchList; 123 class TouchList;
125 class WebGLRenderingContext; 124 class WebGLRenderingContext;
126 125
127 struct AnnotatedRegionValue; 126 struct AnnotatedRegionValue;
128 127
129 typedef EventWithHitTestResults<PlatformMouseEvent> MouseEventWithHitTestResults ; 128 typedef EventWithHitTestResults<PlatformMouseEvent> MouseEventWithHitTestResults ;
130 typedef int ExceptionCode; 129 typedef int ExceptionCode;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // This is a DOM function. 236 // This is a DOM function.
238 StyleSheetList* styleSheets(); 237 StyleSheetList* styleSheets();
239 238
240 StyleEngine* styleEngine() { return m_styleEngine.get(); } 239 StyleEngine* styleEngine() { return m_styleEngine.get(); }
241 240
242 // Called when one or more stylesheets in the document may have been added, removed, or changed. 241 // Called when one or more stylesheets in the document may have been added, removed, or changed.
243 void styleResolverChanged(); 242 void styleResolverChanged();
244 243
245 // FIXME: Switch all callers of styleResolverChanged to these or better ones and then make them 244 // FIXME: Switch all callers of styleResolverChanged to these or better ones and then make them
246 // do something smarter. 245 // do something smarter.
247 void removedStyleSheet(StyleSheet*); 246 void removedStyleSheet(CSSStyleSheet*);
248 void addedStyleSheet(StyleSheet*) { styleResolverChanged(); } 247 void addedStyleSheet(CSSStyleSheet*) { styleResolverChanged(); }
249 void modifiedStyleSheet(StyleSheet*); 248 void modifiedStyleSheet(CSSStyleSheet*);
250 249
251 void evaluateMediaQueryList(); 250 void evaluateMediaQueryList();
252 251
253 void setStateForNewFormElements(const Vector<String>&); 252 void setStateForNewFormElements(const Vector<String>&);
254 253
255 FrameView* view() const; // can be null 254 FrameView* view() const; // can be null
256 LocalFrame* frame() const { return m_frame; } // can be null 255 LocalFrame* frame() const { return m_frame; } // can be null
257 FrameHost* frameHost() const; // can be null 256 FrameHost* frameHost() const; // can be null
258 Page* page() const; // can be null 257 Page* page() const; // can be null
259 Settings* settings() const; // can be null 258 Settings* settings() const; // can be null
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 Node* eventTargetNodeForDocument(Document*); 822 Node* eventTargetNodeForDocument(Document*);
824 823
825 } // namespace blink 824 } // namespace blink
826 825
827 #ifndef NDEBUG 826 #ifndef NDEBUG
828 // Outside the WebCore namespace for ease of invocation from gdb. 827 // Outside the WebCore namespace for ease of invocation from gdb.
829 void showLiveDocumentInstances(); 828 void showLiveDocumentInstances();
830 #endif 829 #endif
831 830
832 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ 831 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/StyleSheetList.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698