| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 299 |
| 300 void WebDocument::hideTransitionElements(const WebString& cssSelector) | 300 void WebDocument::hideTransitionElements(const WebString& cssSelector) |
| 301 { | 301 { |
| 302 RefPtrWillBeRawPtr<Document> document = unwrap<Document>(); | 302 RefPtrWillBeRawPtr<Document> document = unwrap<Document>(); |
| 303 document->hideTransitionElements(cssSelector); | 303 document->hideTransitionElements(cssSelector); |
| 304 } | 304 } |
| 305 | 305 |
| 306 void WebDocument::showTransitionElements(const WebString& cssSelector) | 306 void WebDocument::showTransitionElements(const WebString& cssSelector) |
| 307 { | 307 { |
| 308 RefPtrWillBeRawPtr<Document> document = unwrap<Document>(); | 308 RefPtrWillBeRawPtr<Document> document = unwrap<Document>(); |
| 309 document->hideTransitionElements(cssSelector); | 309 document->showTransitionElements(cssSelector); |
| 310 } | 310 } |
| 311 | 311 |
| 312 WebAXObject WebDocument::accessibilityObject() const | 312 WebAXObject WebDocument::accessibilityObject() const |
| 313 { | 313 { |
| 314 const Document* document = constUnwrap<Document>(); | 314 const Document* document = constUnwrap<Document>(); |
| 315 AXObjectCache* cache = document->axObjectCache(); | 315 AXObjectCache* cache = document->axObjectCache(); |
| 316 return cache ? WebAXObject(cache->getOrCreateAXObjectFromRenderView(document
->renderView())) : WebAXObject(); | 316 return cache ? WebAXObject(cache->getOrCreateAXObjectFromRenderView(document
->renderView())) : WebAXObject(); |
| 317 } | 317 } |
| 318 | 318 |
| 319 WebAXObject WebDocument::accessibilityObjectFromID(int axID) const | 319 WebAXObject WebDocument::accessibilityObjectFromID(int axID) const |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 m_private = elem; | 374 m_private = elem; |
| 375 return *this; | 375 return *this; |
| 376 } | 376 } |
| 377 | 377 |
| 378 WebDocument::operator PassRefPtrWillBeRawPtr<Document>() const | 378 WebDocument::operator PassRefPtrWillBeRawPtr<Document>() const |
| 379 { | 379 { |
| 380 return toDocument(m_private.get()); | 380 return toDocument(m_private.get()); |
| 381 } | 381 } |
| 382 | 382 |
| 383 } // namespace blink | 383 } // namespace blink |
| OLD | NEW |