| OLD | NEW |
| 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, 2008, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2008, 2010 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2010 Google Inc. All rights reserved. | 5 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 virtual bool canStartSelection() const override; | 98 virtual bool canStartSelection() const override; |
| 99 | 99 |
| 100 virtual bool isURLAttribute(const Attribute&) const override; | 100 virtual bool isURLAttribute(const Attribute&) const override; |
| 101 | 101 |
| 102 virtual void insertedInto(ContainerNode*) override; | 102 virtual void insertedInto(ContainerNode*) override; |
| 103 virtual void removedFrom(ContainerNode*) override; | 103 virtual void removedFrom(ContainerNode*) override; |
| 104 | 104 |
| 105 void setBestFitURLAndDPRFromImageCandidate(const ImageCandidate&); | 105 void setBestFitURLAndDPRFromImageCandidate(const ImageCandidate&); |
| 106 HTMLImageLoader& imageLoader() const { return *m_imageLoader; } | 106 HTMLImageLoader& imageLoader() const { return *m_imageLoader; } |
| 107 void notifyViewportChanged(); | 107 void notifyViewportChanged(); |
| 108 void createMediaQueryListIfDoesNotExist(); | |
| 109 | 108 |
| 110 OwnPtr<HTMLImageLoader> m_imageLoader; | 109 OwnPtr<HTMLImageLoader> m_imageLoader; |
| 111 RefPtr<ViewportChangeListener> m_listener; | 110 RefPtr<ViewportChangeListener> m_listener; |
| 112 AtomicString m_bestFitImageURL; | 111 AtomicString m_bestFitImageURL; |
| 113 float m_imageDevicePixelRatio; | 112 float m_imageDevicePixelRatio; |
| 114 unsigned m_elementCreatedByParser : 1; | 113 unsigned m_elementCreatedByParser : 1; |
| 115 // Intrinsic sizing is viewport dependant if the 'w' descriptor was used for
the picked resource. | 114 // Intrinsic sizing is viewport dependant if the 'w' descriptor was used for
the picked resource. |
| 116 unsigned m_intrinsicSizingViewportDependant : 1; | 115 unsigned m_intrinsicSizingViewportDependant : 1; |
| 117 // Effective size is viewport dependant if the sizes attribute's effective s
ize used v* length units. | 116 // Effective size is viewport dependant if the sizes attribute's effective s
ize used v* length units. |
| 118 unsigned m_effectiveSizeViewportDependant : 1; | 117 unsigned m_effectiveSizeViewportDependant : 1; |
| 119 }; | 118 }; |
| 120 | 119 |
| 121 } // namespace blink | 120 } // namespace blink |
| 122 | 121 |
| 123 #endif // SKY_ENGINE_CORE_HTML_HTMLIMAGEELEMENT_H_ | 122 #endif // SKY_ENGINE_CORE_HTML_HTMLIMAGEELEMENT_H_ |
| OLD | NEW |