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

Side by Side Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.h

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 5 years 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) 2006 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Does the SVG image/document contain any animations? 75 // Does the SVG image/document contain any animations?
76 bool hasAnimations() const; 76 bool hasAnimations() const;
77 77
78 void updateUseCounters(Document&) const; 78 void updateUseCounters(Document&) const;
79 79
80 // DisplayItemClient methods. 80 // DisplayItemClient methods.
81 String debugName() const final { return "SVGImage"; } 81 String debugName() const final { return "SVGImage"; }
82 IntRect visualRect() const override; 82 IntRect visualRect() const override;
83 83
84 private: 84 private:
85 DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION
86
85 friend class AXLayoutObject; 87 friend class AXLayoutObject;
86 friend class SVGImageChromeClient; 88 friend class SVGImageChromeClient;
87 friend class SVGImageForContainer; 89 friend class SVGImageForContainer;
88 90
89 ~SVGImage() override; 91 ~SVGImage() override;
90 92
91 String filenameExtension() const override; 93 String filenameExtension() const override;
92 94
93 void setContainerSize(const IntSize&); 95 void setContainerSize(const IntSize&);
94 IntSize containerSize() const; 96 IntSize containerSize() const;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 m_image->setImageObserver(m_observer); 138 m_image->setImageObserver(m_observer);
137 } 139 }
138 private: 140 private:
139 Image* m_image; 141 Image* m_image;
140 ImageObserver* m_observer; 142 ImageObserver* m_observer;
141 }; 143 };
142 144
143 } 145 }
144 146
145 #endif // SVGImage_h 147 #endif // SVGImage_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698