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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSResourceValue.idl

Issue 2190543004: [Typed-OM] Add CSSResourceValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add default return value Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/cssom/CSSResourceValue.idl
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.idl b/third_party/WebKit/Source/core/css/cssom/CSSResourceValue.idl
similarity index 58%
copy from third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.idl
copy to third_party/WebKit/Source/core/css/cssom/CSSResourceValue.idl
index 8173d5e004b40a480a2ec31406aa891e5fe4eeb4..05f927eb0862f1aedf7d7a02d106803826120bdd 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.idl
+++ b/third_party/WebKit/Source/core/css/cssom/CSSResourceValue.idl
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+enum CSSResourceState {
+ "unloaded", "loading", "loaded", "error"
dstockwell 2016/08/10 03:55:17 Does this not generate anything that we can refer
meade_UTC10 2016/08/10 05:00:40 It doesn't seem to - for example the enum LengthTy
+};
+
[
Exposed=(Window,PaintWorklet),
RuntimeEnabled=CSSTypedOM,
-] interface CSSTransformComponent {
- readonly attribute DOMString cssText;
- boolean is2D();
- CSSMatrixTransformComponent asMatrix();
+] interface CSSResourceValue : CSSStyleValue {
+ readonly attribute CSSResourceState state;
};

Powered by Google App Engine
This is Rietveld 408576698