| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 virtual WebString contentAsText(size_t maxChars) const; | 228 virtual WebString contentAsText(size_t maxChars) const; |
| 229 virtual WebString contentAsMarkup() const; | 229 virtual WebString contentAsMarkup() const; |
| 230 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const; | 230 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const; |
| 231 virtual WebString markerTextForListItem(const WebElement&) const; | 231 virtual WebString markerTextForListItem(const WebElement&) const; |
| 232 virtual WebRect selectionBoundsRect() const; | 232 virtual WebRect selectionBoundsRect() const; |
| 233 | 233 |
| 234 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const; | 234 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const; |
| 235 virtual WebString layerTreeAsText(bool showDebugInfo = false) const; | 235 virtual WebString layerTreeAsText(bool showDebugInfo = false) const; |
| 236 | 236 |
| 237 // WebCore::FrameDestructionObserver methods. | 237 // WebCore::FrameDestructionObserver methods. |
| 238 virtual void willDetachPage(); | 238 virtual void willDetachFrameHost(); |
| 239 | 239 |
| 240 static WebFrameImpl* create(WebFrameClient*); | 240 static WebFrameImpl* create(WebFrameClient*); |
| 241 // FIXME: Move the embedderIdentifier concept fully to the embedder and | 241 // FIXME: Move the embedderIdentifier concept fully to the embedder and |
| 242 // remove this factory method. | 242 // remove this factory method. |
| 243 static WebFrameImpl* create(WebFrameClient*, long long embedderIdentifier); | 243 static WebFrameImpl* create(WebFrameClient*, long long embedderIdentifier); |
| 244 virtual ~WebFrameImpl(); | 244 virtual ~WebFrameImpl(); |
| 245 | 245 |
| 246 // Called by the WebViewImpl to initialize the main frame for the page. | 246 // Called by the WebViewImpl to initialize the main frame for the page. |
| 247 void initializeAsMainFrame(WebCore::Page*); | 247 void initializeAsMainFrame(WebCore::Page*); |
| 248 | 248 |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 { | 525 { |
| 526 return static_cast<const WebFrameImpl*>(webFrame); | 526 return static_cast<const WebFrameImpl*>(webFrame); |
| 527 } | 527 } |
| 528 | 528 |
| 529 // This will catch anyone doing an unnecessary cast. | 529 // This will catch anyone doing an unnecessary cast. |
| 530 void toWebFrameImpl(const WebFrameImpl*); | 530 void toWebFrameImpl(const WebFrameImpl*); |
| 531 | 531 |
| 532 } // namespace blink | 532 } // namespace blink |
| 533 | 533 |
| 534 #endif | 534 #endif |
| OLD | NEW |