| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 int& marginRight, | 194 int& marginRight, |
| 195 int& marginBottom, | 195 int& marginBottom, |
| 196 int& marginLeft) override; | 196 int& marginLeft) override; |
| 197 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid
e; | 197 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid
e; |
| 198 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; | 198 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; |
| 199 | 199 |
| 200 void dispatchMessageEventWithOriginCheck( | 200 void dispatchMessageEventWithOriginCheck( |
| 201 const WebSecurityOrigin& intendedTargetOrigin, | 201 const WebSecurityOrigin& intendedTargetOrigin, |
| 202 const WebDOMEvent&) override; | 202 const WebDOMEvent&) override; |
| 203 | 203 |
| 204 WebString contentAsText(size_t maxChars) const override; | |
| 205 WebString contentAsMarkup() const override; | |
| 206 WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTextNormal)
const override; | |
| 207 | |
| 208 WebString markerTextForListItem(const WebElement&) const override; | |
| 209 WebRect selectionBoundsRect() const override; | 204 WebRect selectionBoundsRect() const override; |
| 210 | 205 |
| 211 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; | 206 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; |
| 212 WebString layerTreeAsText(bool showDebugInfo = false) const override; | 207 WebString layerTreeAsText(bool showDebugInfo = false) const override; |
| 213 | 208 |
| 214 void registerTestInterface(const WebString& name, WebTestInterfaceFactory*)
override; | 209 void registerTestInterface(const WebString& name, WebTestInterfaceFactory*)
override; |
| 215 | 210 |
| 216 WebFrameImplBase* toImplBase() override { return this; } | 211 WebFrameImplBase* toImplBase() override { return this; } |
| 217 | 212 |
| 218 // Creates a test interface by name if available, returns an empty handle | 213 // Creates a test interface by name if available, returns an empty handle |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 // cleared upon close(). | 405 // cleared upon close(). |
| 411 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 406 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 412 #endif | 407 #endif |
| 413 }; | 408 }; |
| 414 | 409 |
| 415 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 410 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 416 | 411 |
| 417 } // namespace blink | 412 } // namespace blink |
| 418 | 413 |
| 419 #endif | 414 #endif |
| OLD | NEW |