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

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

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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/loader/FrameLoader.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 bool hasPendingBeforeLoadEvent() const { return m_hasPendingBeforeLoadEvent; } 63 bool hasPendingBeforeLoadEvent() const { return m_hasPendingBeforeLoadEvent; }
64 bool hasPendingActivity() const { return m_hasPendingLoadEvent || m_hasPendi ngErrorEvent; } 64 bool hasPendingActivity() const { return m_hasPendingLoadEvent || m_hasPendi ngErrorEvent; }
65 65
66 void dispatchPendingEvent(ImageEventSender*); 66 void dispatchPendingEvent(ImageEventSender*);
67 67
68 static void dispatchPendingBeforeLoadEvents(); 68 static void dispatchPendingBeforeLoadEvents();
69 static void dispatchPendingLoadEvents(); 69 static void dispatchPendingLoadEvents();
70 static void dispatchPendingErrorEvents(); 70 static void dispatchPendingErrorEvents();
71 71
72 virtual void reportMemoryUsage(MemoryObjectInfo*) const;
73
74 protected: 72 protected:
75 virtual void notifyFinished(CachedResource*); 73 virtual void notifyFinished(CachedResource*);
76 74
77 private: 75 private:
78 virtual void dispatchLoadEvent() = 0; 76 virtual void dispatchLoadEvent() = 0;
79 virtual String sourceURI(const AtomicString&) const = 0; 77 virtual String sourceURI(const AtomicString&) const = 0;
80 78
81 void updatedHasPendingEvent(); 79 void updatedHasPendingEvent();
82 80
83 void dispatchPendingBeforeLoadEvent(); 81 void dispatchPendingBeforeLoadEvent();
(...skipping 16 matching lines...) Expand all
100 bool m_hasPendingLoadEvent : 1; 98 bool m_hasPendingLoadEvent : 1;
101 bool m_hasPendingErrorEvent : 1; 99 bool m_hasPendingErrorEvent : 1;
102 bool m_imageComplete : 1; 100 bool m_imageComplete : 1;
103 bool m_loadManually : 1; 101 bool m_loadManually : 1;
104 bool m_elementIsProtected : 1; 102 bool m_elementIsProtected : 1;
105 }; 103 };
106 104
107 } 105 }
108 106
109 #endif 107 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698