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

Side by Side Diff: sky/engine/core/html/HTMLImageElement.h

Issue 834693007: Remove the remaining parts of ignorePendingStylesheets and placeholder styles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove comment. Created 5 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 | « sky/engine/core/events/MouseRelatedEvent.cpp ('k') | sky/engine/core/html/HTMLImageElement.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, 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 28 matching lines...) Expand all
39 DEFINE_WRAPPERTYPEINFO(); 39 DEFINE_WRAPPERTYPEINFO();
40 public: 40 public:
41 class ViewportChangeListener; 41 class ViewportChangeListener;
42 42
43 static PassRefPtr<HTMLImageElement> create(Document&); 43 static PassRefPtr<HTMLImageElement> create(Document&);
44 static PassRefPtr<HTMLImageElement> create(Document&, bool createdByParser); 44 static PassRefPtr<HTMLImageElement> create(Document&, bool createdByParser);
45 static PassRefPtr<HTMLImageElement> createForJSConstructor(Document&, int wi dth, int height); 45 static PassRefPtr<HTMLImageElement> createForJSConstructor(Document&, int wi dth, int height);
46 46
47 virtual ~HTMLImageElement(); 47 virtual ~HTMLImageElement();
48 48
49 int width(bool ignorePendingStylesheets = false); 49 int width();
50 int height(bool ignorePendingStylesheets = false); 50 int height();
51 51
52 int naturalWidth() const; 52 int naturalWidth() const;
53 int naturalHeight() const; 53 int naturalHeight() const;
54 const String& currentSrc() const; 54 const String& currentSrc() const;
55 55
56 ImageResource* cachedImage() const { return imageLoader().image(); } 56 ImageResource* cachedImage() const { return imageLoader().image(); }
57 void setImageResource(ImageResource* i) { imageLoader().setImage(i); }; 57 void setImageResource(ImageResource* i) { imageLoader().setImage(i); };
58 58
59 void setHeight(int); 59 void setHeight(int);
60 60
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 unsigned m_elementCreatedByParser : 1; 113 unsigned m_elementCreatedByParser : 1;
114 // 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.
115 unsigned m_intrinsicSizingViewportDependant : 1; 115 unsigned m_intrinsicSizingViewportDependant : 1;
116 // 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.
117 unsigned m_effectiveSizeViewportDependant : 1; 117 unsigned m_effectiveSizeViewportDependant : 1;
118 }; 118 };
119 119
120 } // namespace blink 120 } // namespace blink
121 121
122 #endif // SKY_ENGINE_CORE_HTML_HTMLIMAGEELEMENT_H_ 122 #endif // SKY_ENGINE_CORE_HTML_HTMLIMAGEELEMENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/events/MouseRelatedEvent.cpp ('k') | sky/engine/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698