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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLImageElement.idl

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: rebase Created 3 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 [CEReactions, Reflect] attribute unsigned long hspace; 48 [CEReactions, Reflect] attribute unsigned long hspace;
49 [CEReactions, Reflect] attribute unsigned long vspace; 49 [CEReactions, Reflect] attribute unsigned long vspace;
50 [CEReactions, Reflect, URL] attribute DOMString longDesc; 50 [CEReactions, Reflect, URL] attribute DOMString longDesc;
51 51
52 [CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString border; 52 [CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString border;
53 53
54 // CSSOM View Module 54 // CSSOM View Module
55 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlimageelement-i nterface 55 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlimageelement-i nterface
56 [MeasureAs=HTMLImageElementX] readonly attribute long x; 56 [MeasureAs=HTMLImageElementX] readonly attribute long x;
57 [MeasureAs=HTMLImageElementY] readonly attribute long y; 57 [MeasureAs=HTMLImageElementY] readonly attribute long y;
58
59 [RuntimeEnabled=JSImageDecode, CallWith=ScriptState, RaisesException] Promis e decode();
58 }; 60 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698