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

Side by Side Diff: Source/core/css/CSSStyleDeclaration.idl

Issue 1109323002: [bindings] Support passing of ScriptState for namedPropertyQuery form of getter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 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 26 matching lines...) Expand all
37 [RaisesException] void setProperty(DOMString property, DOMString? value, opt ional DOMString? priority = null); 37 [RaisesException] void setProperty(DOMString property, DOMString? value, opt ional DOMString? priority = null);
38 // void setPropertyValue(DOMString property, [TreatNullAs=EmptyString] DOMSt ring value); 38 // void setPropertyValue(DOMString property, [TreatNullAs=EmptyString] DOMSt ring value);
39 // void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DO MString priority); 39 // void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DO MString priority);
40 [RaisesException] DOMString? removeProperty(DOMString property); 40 [RaisesException] DOMString? removeProperty(DOMString property);
41 readonly attribute CSSRule? parentRule; 41 readonly attribute CSSRule? parentRule;
42 // [TreatNullAs=EmptyString] attribute DOMString cssFloat; 42 // [TreatNullAs=EmptyString] attribute DOMString cssFloat;
43 43
44 // The camel-cased and dashed attribute getters have custom bindings. 44 // The camel-cased and dashed attribute getters have custom bindings.
45 // http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-camel-cased-attrib ute 45 // http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-camel-cased-attrib ute
46 // http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-dashed-attribute 46 // http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-dashed-attribute
47 [Custom=(PropertyGetter,PropertyEnumerator,PropertyQuery)] getter (DOMString or float) (DOMString name); 47 [CallWith=ScriptState] getter (DOMString or float) (DOMString name);
haraken 2015/04/29 15:53:46 Can we drop these Custom=X from run-bindings-tests
48 [Custom] setter void (DOMString property, DOMString? propertyValue); 48 [RaisesException, CallWith=ScriptState] setter void (DOMString property, DOM String? propertyValue);
49 }; 49 };
OLDNEW
« Source/core/css/CSSStyleDeclaration.cpp ('K') | « Source/core/css/CSSStyleDeclaration.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698