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

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

Issue 134443002: Update fetch / loader classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No OVERRIDE / FINAL in web Created 6 years, 11 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/core/loader/FrameFetchContext.h ('k') | Source/core/loader/LinkLoader.h » ('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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void dispatchPendingEvent(ImageEventSender*); 78 void dispatchPendingEvent(ImageEventSender*);
79 79
80 static void dispatchPendingBeforeLoadEvents(); 80 static void dispatchPendingBeforeLoadEvents();
81 static void dispatchPendingLoadEvents(); 81 static void dispatchPendingLoadEvents();
82 static void dispatchPendingErrorEvents(); 82 static void dispatchPendingErrorEvents();
83 83
84 void addClient(ImageLoaderClient*); 84 void addClient(ImageLoaderClient*);
85 void removeClient(ImageLoaderClient*); 85 void removeClient(ImageLoaderClient*);
86 86
87 protected: 87 protected:
88 virtual void notifyFinished(Resource*); 88 virtual void notifyFinished(Resource*) OVERRIDE;
89 89
90 private: 90 private:
91 virtual void dispatchLoadEvent() = 0; 91 virtual void dispatchLoadEvent() = 0;
92 virtual String sourceURI(const AtomicString&) const = 0; 92 virtual String sourceURI(const AtomicString&) const = 0;
93 93
94 void updatedHasPendingEvent(); 94 void updatedHasPendingEvent();
95 95
96 void dispatchPendingBeforeLoadEvent(); 96 void dispatchPendingBeforeLoadEvent();
97 void dispatchPendingLoadEvent(); 97 void dispatchPendingLoadEvent();
98 void dispatchPendingErrorEvent(); 98 void dispatchPendingErrorEvent();
(...skipping 17 matching lines...) Expand all
116 bool m_hasPendingErrorEvent : 1; 116 bool m_hasPendingErrorEvent : 1;
117 bool m_imageComplete : 1; 117 bool m_imageComplete : 1;
118 bool m_loadManually : 1; 118 bool m_loadManually : 1;
119 bool m_elementIsProtected : 1; 119 bool m_elementIsProtected : 1;
120 unsigned m_highPriorityClientCount; 120 unsigned m_highPriorityClientCount;
121 }; 121 };
122 122
123 } 123 }
124 124
125 #endif 125 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameFetchContext.h ('k') | Source/core/loader/LinkLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698