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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 virtual WebString contentAsText(size_t maxChars) const; | 231 virtual WebString contentAsText(size_t maxChars) const; |
232 virtual WebString contentAsMarkup() const; | 232 virtual WebString contentAsMarkup() const; |
233 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const; | 233 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const; |
234 virtual WebString markerTextForListItem(const WebElement&) const; | 234 virtual WebString markerTextForListItem(const WebElement&) const; |
235 virtual WebRect selectionBoundsRect() const; | 235 virtual WebRect selectionBoundsRect() const; |
236 | 236 |
237 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const; | 237 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const; |
238 virtual WebString layerTreeAsText(bool showDebugInfo = false) const; | 238 virtual WebString layerTreeAsText(bool showDebugInfo = false) const; |
239 | 239 |
240 // WebCore::FrameDestructionObserver methods. | 240 // WebCore::FrameDestructionObserver methods. |
241 virtual void willDetachPage(); | 241 virtual void willDetachFrameHost(); |
242 | 242 |
243 static WebFrameImpl* create(WebFrameClient*); | 243 static WebFrameImpl* create(WebFrameClient*); |
244 // FIXME: Move the embedderIdentifier concept fully to the embedder and | 244 // FIXME: Move the embedderIdentifier concept fully to the embedder and |
245 // remove this factory method. | 245 // remove this factory method. |
246 static WebFrameImpl* create(WebFrameClient*, long long embedderIdentifier); | 246 static WebFrameImpl* create(WebFrameClient*, long long embedderIdentifier); |
247 virtual ~WebFrameImpl(); | 247 virtual ~WebFrameImpl(); |
248 | 248 |
249 // Called by the WebViewImpl to initialize the main frame for the page. | 249 // Called by the WebViewImpl to initialize the main frame for the page. |
250 void initializeAsMainFrame(WebCore::Page*); | 250 void initializeAsMainFrame(WebCore::Page*); |
251 | 251 |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 522 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
523 WebCore::IntSize m_inputEventsOffsetForEmulation; | 523 WebCore::IntSize m_inputEventsOffsetForEmulation; |
524 float m_inputEventsScaleFactorForEmulation; | 524 float m_inputEventsScaleFactorForEmulation; |
525 }; | 525 }; |
526 | 526 |
527 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); | 527 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); |
528 | 528 |
529 } // namespace blink | 529 } // namespace blink |
530 | 530 |
531 #endif | 531 #endif |
OLD | NEW |