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

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

Issue 2077523002: Add contentWindow attribute for <object> elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 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 16 matching lines...) Expand all
27 ] interface HTMLObjectElement : HTMLElement { 27 ] interface HTMLObjectElement : HTMLElement {
28 [Reflect, URL] attribute DOMString data; 28 [Reflect, URL] attribute DOMString data;
29 [Reflect] attribute DOMString type; 29 [Reflect] attribute DOMString type;
30 // TODO(philipj): attribute boolean typeMustMatch; 30 // TODO(philipj): attribute boolean typeMustMatch;
31 [Reflect] attribute DOMString name; 31 [Reflect] attribute DOMString name;
32 [Reflect] attribute DOMString useMap; 32 [Reflect] attribute DOMString useMap;
33 [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; 33 [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
34 [Reflect] attribute DOMString width; 34 [Reflect] attribute DOMString width;
35 [Reflect] attribute DOMString height; 35 [Reflect] attribute DOMString height;
36 [CheckSecurity=ReturnValue] readonly attribute Document? contentDocument; 36 [CheckSecurity=ReturnValue] readonly attribute Document? contentDocument;
37 // TODO(philipj): readonly attribute WindowProxy? contentWindow; 37 readonly attribute WindowProxy? contentWindow;
Yuki 2016/06/16 12:24:23 Do we really support "WindowProxy"? I don't see a
Shanmuga Pandi 2016/06/17 10:37:31 Done.
38 [CheckSecurity=ReturnValue, RaisesException] Document? getSVGDocument(); 38 [CheckSecurity=ReturnValue, RaisesException] Document? getSVGDocument();
39 39
40 readonly attribute boolean willValidate; 40 readonly attribute boolean willValidate;
41 readonly attribute ValidityState validity; 41 readonly attribute ValidityState validity;
42 readonly attribute DOMString validationMessage; 42 readonly attribute DOMString validationMessage;
43 boolean checkValidity(); 43 boolean checkValidity();
44 boolean reportValidity(); 44 boolean reportValidity();
45 void setCustomValidity(DOMString error); 45 void setCustomValidity(DOMString error);
46 46
47 // TODO(philipj): legacycaller any (any... arguments); crbug.com/465009 47 // TODO(philipj): legacycaller any (any... arguments); crbug.com/465009
(...skipping 12 matching lines...) Expand all
60 [Reflect] attribute DOMString codeType; 60 [Reflect] attribute DOMString codeType;
61 61
62 [Reflect, TreatNullAs=EmptyString] attribute DOMString border; 62 [Reflect, TreatNullAs=EmptyString] attribute DOMString border;
63 63
64 // TODO(philipj): These getters and setters are not in the spec. 64 // TODO(philipj): These getters and setters are not in the spec.
65 [Custom, NotEnumerable] getter boolean (unsigned long index); 65 [Custom, NotEnumerable] getter boolean (unsigned long index);
66 [Custom] setter boolean (unsigned long index, Node value); 66 [Custom] setter boolean (unsigned long index, Node value);
67 [Custom, NotEnumerable] getter Node (DOMString name); 67 [Custom, NotEnumerable] getter Node (DOMString name);
68 [Custom] setter Node (DOMString name, Node value); 68 [Custom] setter Node (DOMString name, Node value);
69 }; 69 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698