| Index: third_party/WebCore/html/HTMLIntentElement.idl
|
| diff --git a/third_party/WebCore/xml/XPathException.idl b/third_party/WebCore/html/HTMLIntentElement.idl
|
| similarity index 62%
|
| copy from third_party/WebCore/xml/XPathException.idl
|
| copy to third_party/WebCore/html/HTMLIntentElement.idl
|
| index 8196cbe5ad3200dcd4c3b5e9cb0f660eb90e15b1..608c5acdd838df584f2b774bd258c9276bc8202f 100644
|
| --- a/third_party/WebCore/xml/XPathException.idl
|
| +++ b/third_party/WebCore/html/HTMLIntentElement.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2007 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2011 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -10,9 +10,6 @@
|
| * 2. Redistributions in binary form must reproduce the above copyright
|
| * notice, this list of conditions and the following disclaimer in the
|
| * documentation and/or other materials provided with the distribution.
|
| - * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
|
| - * its contributors may be used to endorse or promote products derived
|
| - * from this software without specific prior written permission.
|
| *
|
| * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
|
| * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| @@ -26,24 +23,16 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -module xpath {
|
| +module html {
|
|
|
| interface [
|
| - DoNotCheckConstants
|
| - ] XPathException {
|
| -
|
| - readonly attribute unsigned short code;
|
| - readonly attribute DOMString name;
|
| - readonly attribute DOMString message;
|
| -
|
| -#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
|
| - // Override in a Mozilla compatible format
|
| - [NotEnumerable] DOMString toString();
|
| -#endif
|
| -
|
| - // XPathExceptionCode
|
| - const unsigned short INVALID_EXPRESSION_ERR = 51;
|
| - const unsigned short TYPE_ERR = 52;
|
| + Conditional=WEB_INTENTS_TAG
|
| + ] HTMLIntentElement : HTMLElement {
|
| + attribute [Reflect] DOMString action;
|
| + attribute [Reflect] DOMString type;
|
| + attribute [Reflect, URL] DOMString href;
|
| + attribute [Reflect] DOMString title;
|
| + attribute [Reflect] DOMString disposition;
|
| };
|
|
|
| }
|
|
|