| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 String elementRenderTreeAsText(Element*, ExceptionCode&); | 46 String elementRenderTreeAsText(Element*, ExceptionCode&); |
| 47 | 47 |
| 48 bool isPreloaded(Document*, const String& url); | 48 bool isPreloaded(Document*, const String& url); |
| 49 | 49 |
| 50 Node* ensureShadowRoot(Element* host, ExceptionCode&); | 50 Node* ensureShadowRoot(Element* host, ExceptionCode&); |
| 51 Node* shadowRoot(Element* host, ExceptionCode&); | 51 Node* shadowRoot(Element* host, ExceptionCode&); |
| 52 void removeShadowRoot(Element* host, ExceptionCode&); | 52 void removeShadowRoot(Element* host, ExceptionCode&); |
| 53 Element* includerFor(Node*, ExceptionCode&); | 53 Element* includerFor(Node*, ExceptionCode&); |
| 54 String shadowPseudoId(Element*, ExceptionCode&); | 54 String shadowPseudoId(Element*, ExceptionCode&); |
| 55 PassRefPtr<Element> createShadowContentElement(Document*, ExceptionCode&); | 55 PassRefPtr<Element> createShadowContentElement(Document*, ExceptionCode&); |
| 56 void disableMemoryCache(bool disabled); |
| 56 | 57 |
| 57 #if ENABLE(INSPECTOR) | 58 #if ENABLE(INSPECTOR) |
| 58 void setInspectorResourcesDataSizeLimits(Document*, int maximumResourcesCont
entSize, int maximumSingleResourceContentSize, ExceptionCode&); | 59 void setInspectorResourcesDataSizeLimits(Document*, int maximumResourcesCont
entSize, int maximumSingleResourceContentSize, ExceptionCode&); |
| 59 #else | 60 #else |
| 60 void setInspectorResourcesDataSizeLimits(Document*, int maximumResourcesCont
entSize, int maximumSingleResourceContentSize, ExceptionCode&) { } | 61 void setInspectorResourcesDataSizeLimits(Document*, int maximumResourcesCont
entSize, int maximumSingleResourceContentSize, ExceptionCode&) { } |
| 61 #endif | 62 #endif |
| 62 | 63 |
| 63 private: | 64 private: |
| 64 Internals(); | 65 Internals(); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace WebCore | 68 } // namespace WebCore |
| 68 | 69 |
| 69 #endif | 70 #endif |
| OLD | NEW |