| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 virtual WebString selectionAsText() const OVERRIDE; | 176 virtual WebString selectionAsText() const OVERRIDE; |
| 177 virtual WebString selectionAsMarkup() const OVERRIDE; | 177 virtual WebString selectionAsMarkup() const OVERRIDE; |
| 178 virtual bool selectWordAroundCaret() OVERRIDE; | 178 virtual bool selectWordAroundCaret() OVERRIDE; |
| 179 virtual void selectRange(const WebPoint& base, const WebPoint& extent) OVERR
IDE; | 179 virtual void selectRange(const WebPoint& base, const WebPoint& extent) OVERR
IDE; |
| 180 virtual void selectRange(const WebRange&) OVERRIDE; | 180 virtual void selectRange(const WebRange&) OVERRIDE; |
| 181 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) OVERRIDE; | 181 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) OVERRIDE; |
| 182 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; | 182 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; |
| 183 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; | 183 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; |
| 184 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; | 184 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; |
| 185 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; | 185 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; |
| 186 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE; | |
| 187 virtual void setCaretVisible(bool) OVERRIDE; | 186 virtual void setCaretVisible(bool) OVERRIDE; |
| 188 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) OVERRIDE; | 187 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) OVERRIDE; |
| 189 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; | 188 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; |
| 190 virtual float getPrintPageShrink(int page) OVERRIDE; | 189 virtual float getPrintPageShrink(int page) OVERRIDE; |
| 191 virtual void printEnd() OVERRIDE; | 190 virtual void printEnd() OVERRIDE; |
| 192 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; | 191 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; |
| 193 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; | 192 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; |
| 194 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; | 193 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; |
| 195 virtual void pageSizeAndMarginsInPixels( | 194 virtual void pageSizeAndMarginsInPixels( |
| 196 int pageIndex, | 195 int pageIndex, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 225 | 224 |
| 226 virtual WebString contentAsText(size_t maxChars) const OVERRIDE; | 225 virtual WebString contentAsText(size_t maxChars) const OVERRIDE; |
| 227 virtual WebString contentAsMarkup() const OVERRIDE; | 226 virtual WebString contentAsMarkup() const OVERRIDE; |
| 228 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const OVERRIDE; | 227 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const OVERRIDE; |
| 229 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; | 228 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; |
| 230 virtual WebRect selectionBoundsRect() const OVERRIDE; | 229 virtual WebRect selectionBoundsRect() const OVERRIDE; |
| 231 | 230 |
| 232 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
OVERRIDE; | 231 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
OVERRIDE; |
| 233 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE
; | 232 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE
; |
| 234 | 233 |
| 234 // WebLocalFrame methods: |
| 235 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE; |
| 236 |
| 235 void willDetachParent(); | 237 void willDetachParent(); |
| 236 | 238 |
| 237 static WebLocalFrameImpl* create(WebFrameClient*); | 239 static WebLocalFrameImpl* create(WebFrameClient*); |
| 238 virtual ~WebLocalFrameImpl(); | 240 virtual ~WebLocalFrameImpl(); |
| 239 | 241 |
| 240 // Called by the WebViewImpl to initialize the main frame for the page. | 242 // Called by the WebViewImpl to initialize the main frame for the page. |
| 241 void initializeAsMainFrame(WebCore::Page*); | 243 void initializeAsMainFrame(WebCore::Page*); |
| 242 | 244 |
| 243 PassRefPtr<WebCore::LocalFrame> createChildFrame( | 245 PassRefPtr<WebCore::LocalFrame> createChildFrame( |
| 244 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*); | 246 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 UserMediaClientImpl m_userMediaClientImpl; | 361 UserMediaClientImpl m_userMediaClientImpl; |
| 360 | 362 |
| 361 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; | 363 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; |
| 362 }; | 364 }; |
| 363 | 365 |
| 364 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 366 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 365 | 367 |
| 366 } // namespace blink | 368 } // namespace blink |
| 367 | 369 |
| 368 #endif | 370 #endif |
| OLD | NEW |