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

Side by Side Diff: Source/WebCore/html/HTMLLinkElement.h

Issue 10265007: Merge 113887 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 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
« no previous file with comments | « Source/WebCore/dom/StyleElement.cpp ('k') | Source/WebCore/html/HTMLLinkElement.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 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 void dispatchPendingEvent(LinkEventSender*); 67 void dispatchPendingEvent(LinkEventSender*);
68 static void dispatchPendingLoadEvents(); 68 static void dispatchPendingLoadEvents();
69 69
70 private: 70 private:
71 virtual void parseAttribute(Attribute*) OVERRIDE; 71 virtual void parseAttribute(Attribute*) OVERRIDE;
72 72
73 virtual bool shouldLoadLink(); 73 virtual bool shouldLoadLink();
74 void process(); 74 void process();
75 static void processCallback(Node*); 75 static void processCallback(Node*);
76 void clearSheet();
76 77
77 virtual void insertedIntoDocument(); 78 virtual void insertedIntoDocument();
78 virtual void removedFromDocument(); 79 virtual void removedFromDocument();
79 80
80 // from CachedResourceClient 81 // from CachedResourceClient
81 virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CachedCSSStyleSheet* sheet); 82 virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CachedCSSStyleSheet* sheet);
82 virtual bool sheetLoaded(); 83 virtual bool sheetLoaded();
83 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) ; 84 virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) ;
84 virtual void startLoadingDynamicSheet(); 85 virtual void startLoadingDynamicSheet();
85 86
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 bool m_isInShadowTree; 130 bool m_isInShadowTree;
130 bool m_firedLoad; 131 bool m_firedLoad;
131 bool m_loadedSheet; 132 bool m_loadedSheet;
132 133
133 PendingSheetType m_pendingSheetType; 134 PendingSheetType m_pendingSheetType;
134 }; 135 };
135 136
136 } //namespace 137 } //namespace
137 138
138 #endif 139 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/dom/StyleElement.cpp ('k') | Source/WebCore/html/HTMLLinkElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698