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

Side by Side Diff: Source/core/loader/ImageLoader.h

Issue 1314793010: Support fragment URLs for all kinds of SVG images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update DEPS to match Created 5 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 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2004, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2009 Apple 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 virtual void dispatchLoadEvent() = 0; 127 virtual void dispatchLoadEvent() = 0;
128 virtual void noImageResourceToLoad() { } 128 virtual void noImageResourceToLoad() { }
129 129
130 void updatedHasPendingEvent(); 130 void updatedHasPendingEvent();
131 131
132 void dispatchPendingLoadEvent(); 132 void dispatchPendingLoadEvent();
133 void dispatchPendingErrorEvent(); 133 void dispatchPendingErrorEvent();
134 134
135 LayoutImageResource* layoutImageResource(); 135 LayoutImageResource* layoutImageResource();
136 void updateLayoutObject(); 136 void updateLayoutObject(const KURL& urlWithFragment);
137 137
138 void setImageWithoutConsideringPendingLoadEvent(ImageResource*); 138 void setImageWithoutConsideringPendingLoadEvent(ImageResource*);
139 void sourceImageChanged(); 139 void sourceImageChanged();
140 void clearFailedLoadURL(); 140 void clearFailedLoadURL();
141 void dispatchErrorEvent(); 141 void dispatchErrorEvent();
142 void crossSiteOrCSPViolationOccurred(AtomicString); 142 void crossSiteOrCSPViolationOccurred(AtomicString);
143 void enqueueImageLoadingMicroTask(UpdateFromElementBehavior, ReferrerPolicy) ; 143 void enqueueImageLoadingMicroTask(UpdateFromElementBehavior, ReferrerPolicy) ;
144 144
145 void timerFired(Timer<ImageLoader>*); 145 void timerFired(Timer<ImageLoader>*);
146 146
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 bool m_imageComplete : 1; 181 bool m_imageComplete : 1;
182 bool m_loadingImageDocument : 1; 182 bool m_loadingImageDocument : 1;
183 bool m_elementIsProtected : 1; 183 bool m_elementIsProtected : 1;
184 bool m_suppressErrorEvents : 1; 184 bool m_suppressErrorEvents : 1;
185 unsigned m_highPriorityClientCount; 185 unsigned m_highPriorityClientCount;
186 }; 186 };
187 187
188 } 188 }
189 189
190 #endif 190 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698