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

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

Issue 1141323002: Drop ImageLoader::sourceURI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/html/HTMLImageLoader.cpp ('k') | Source/core/loader/ImageLoader.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) 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 protected: 113 protected:
114 virtual void notifyFinished(Resource*) override; 114 virtual void notifyFinished(Resource*) override;
115 115
116 private: 116 private:
117 class Task; 117 class Task;
118 118
119 // Called from the task or from updateFromElement to initiate the load. 119 // Called from the task or from updateFromElement to initiate the load.
120 void doUpdateFromElement(BypassMainWorldBehavior, UpdateFromElementBehavior) ; 120 void doUpdateFromElement(BypassMainWorldBehavior, UpdateFromElementBehavior) ;
121 121
122 virtual void dispatchLoadEvent() = 0; 122 virtual void dispatchLoadEvent() = 0;
123 virtual String sourceURI(const AtomicString&) const = 0;
124 virtual void noImageResourceToLoad() { }; 123 virtual void noImageResourceToLoad() { };
125 124
126 void updatedHasPendingEvent(); 125 void updatedHasPendingEvent();
127 126
128 void dispatchPendingLoadEvent(); 127 void dispatchPendingLoadEvent();
129 void dispatchPendingErrorEvent(); 128 void dispatchPendingErrorEvent();
130 129
131 LayoutImageResource* layoutImageResource(); 130 LayoutImageResource* layoutImageResource();
132 void updateLayoutObject(); 131 void updateLayoutObject();
133 132
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 bool m_imageComplete : 1; 183 bool m_imageComplete : 1;
185 bool m_loadingImageDocument : 1; 184 bool m_loadingImageDocument : 1;
186 bool m_elementIsProtected : 1; 185 bool m_elementIsProtected : 1;
187 bool m_suppressErrorEvents : 1; 186 bool m_suppressErrorEvents : 1;
188 unsigned m_highPriorityClientCount; 187 unsigned m_highPriorityClientCount;
189 }; 188 };
190 189
191 } 190 }
192 191
193 #endif 192 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImageLoader.cpp ('k') | Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698