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

Side by Side Diff: Source/core/platform/graphics/chromium/GraphicsLayerChromium.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual void notifyAnimationFinished(double finishTime) OVERRIDE; 147 virtual void notifyAnimationFinished(double finishTime) OVERRIDE;
148 148
149 // WebLayerScrollClient implementation. 149 // WebLayerScrollClient implementation.
150 virtual void didScroll() OVERRIDE; 150 virtual void didScroll() OVERRIDE;
151 151
152 WebKit::WebContentLayer* contentLayer() const { return m_layer.get(); } 152 WebKit::WebContentLayer* contentLayer() const { return m_layer.get(); }
153 153
154 // Exposed for tests. 154 // Exposed for tests.
155 WebKit::WebLayer* contentsLayer() const { return m_contentsLayer; } 155 WebKit::WebLayer* contentsLayer() const { return m_contentsLayer; }
156 156
157 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
158
159 private: 157 private:
160 void updateNames(); 158 void updateNames();
161 void updateChildList(); 159 void updateChildList();
162 void updateLayerPosition(); 160 void updateLayerPosition();
163 void updateLayerSize(); 161 void updateLayerSize();
164 void updateAnchorPoint(); 162 void updateAnchorPoint();
165 void updateTransform(); 163 void updateTransform();
166 void updateChildrenTransform(); 164 void updateChildrenTransform();
167 void updateMasksToBounds(); 165 void updateMasksToBounds();
168 void updateLayerPreserves3D(); 166 void updateLayerPreserves3D();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 207
210 typedef HashMap<String, int> AnimationIdMap; 208 typedef HashMap<String, int> AnimationIdMap;
211 AnimationIdMap m_animationIdMap; 209 AnimationIdMap m_animationIdMap;
212 210
213 ScrollableArea* m_scrollableArea; 211 ScrollableArea* m_scrollableArea;
214 }; 212 };
215 213
216 } // namespace WebCore 214 } // namespace WebCore
217 215
218 #endif 216 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/NativeImagePtr.h ('k') | Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698