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

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

Issue 2905763003: Rollback ContextMenu (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, 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 19 matching lines...) Expand all
30 30
31 // user interaction 31 // user interaction
32 [CEReactions, Reflect] attribute boolean hidden; 32 [CEReactions, Reflect] attribute boolean hidden;
33 void click(); 33 void click();
34 [CEReactions, CustomElementCallbacks] attribute long tabIndex; 34 [CEReactions, CustomElementCallbacks] attribute long tabIndex;
35 [CEReactions, RuntimeEnabled=InertAttribute, Reflect] attribute boolean iner t; 35 [CEReactions, RuntimeEnabled=InertAttribute, Reflect] attribute boolean iner t;
36 void focus(); 36 void focus();
37 void blur(); 37 void blur();
38 [CEReactions, Reflect] attribute DOMString accessKey; 38 [CEReactions, Reflect] attribute DOMString accessKey;
39 [CEReactions, CustomElementCallbacks] attribute boolean draggable; 39 [CEReactions, CustomElementCallbacks] attribute boolean draggable;
40 [CEReactions, RuntimeEnabled=ContextMenu] attribute HTMLMenuElement? context Menu;
41 [CEReactions] attribute boolean spellcheck; 40 [CEReactions] attribute boolean spellcheck;
42 41
43 // HTMLElement implements ElementContentEditable 42 // HTMLElement implements ElementContentEditable
44 // https://html.spec.whatwg.org/#contenteditable 43 // https://html.spec.whatwg.org/#contenteditable
45 [CEReactions, CustomElementCallbacks, RaisesException=Setter] attribute DOMS tring contentEditable; 44 [CEReactions, CustomElementCallbacks, RaisesException=Setter] attribute DOMS tring contentEditable;
46 [ImplementedAs=isContentEditableForBinding] readonly attribute boolean isCon tentEditable; 45 [ImplementedAs=isContentEditableForBinding] readonly attribute boolean isCon tentEditable;
47 [RuntimeEnabled=InputModeAttribute, CEReactions, Reflect] attribute DOMStrin g inputMode; 46 [RuntimeEnabled=InputModeAttribute, CEReactions, Reflect] attribute DOMStrin g inputMode;
48 47
49 // CSSOM View Module 48 // CSSOM View Module
50 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interf ace 49 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interf ace
51 [PerWorldBindings, ImplementedAs=unclosedOffsetParent] readonly attribute El ement? offsetParent; 50 [PerWorldBindings, ImplementedAs=unclosedOffsetParent] readonly attribute El ement? offsetParent;
52 [ImplementedAs=offsetTopForBinding] readonly attribute long offsetTop; 51 [ImplementedAs=offsetTopForBinding] readonly attribute long offsetTop;
53 [ImplementedAs=offsetLeftForBinding] readonly attribute long offsetLeft; 52 [ImplementedAs=offsetLeftForBinding] readonly attribute long offsetLeft;
54 [ImplementedAs=offsetWidthForBinding] readonly attribute long offsetWidth; 53 [ImplementedAs=offsetWidthForBinding] readonly attribute long offsetWidth;
55 [ImplementedAs=offsetHeightForBinding] readonly attribute long offsetHeight; 54 [ImplementedAs=offsetHeightForBinding] readonly attribute long offsetHeight;
56 55
57 // CSS Object Model (CSSOM) 56 // CSS Object Model (CSSOM)
58 // https://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface 57 // https://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface
59 [SameObject, PerWorldBindings, PutForwards=cssText] readonly attribute CSSSt yleDeclaration style; 58 [SameObject, PerWorldBindings, PutForwards=cssText] readonly attribute CSSSt yleDeclaration style;
60 59
61 // Non-standard APIs 60 // Non-standard APIs
62 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio n=Setter, MeasureAs=HTMLElementInnerText] attribute DOMString innerText; 61 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio n=Setter, MeasureAs=HTMLElementInnerText] attribute DOMString innerText;
63 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio n=Setter, MeasureAs=HTMLElementOuterText] attribute DOMString outerText; 62 [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesExceptio n=Setter, MeasureAs=HTMLElementOuterText] attribute DOMString outerText;
64 }; 63 };
65 64
66 HTMLElement implements GlobalEventHandlers; 65 HTMLElement implements GlobalEventHandlers;
67 HTMLElement implements NoncedElement; 66 HTMLElement implements NoncedElement;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMenuElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698