| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 class ChromePrintContext; | 60 class ChromePrintContext; |
| 61 class GeolocationClientProxy; | 61 class GeolocationClientProxy; |
| 62 class SharedWorkerRepositoryClientImpl; | 62 class SharedWorkerRepositoryClientImpl; |
| 63 class TextFinder; | 63 class TextFinder; |
| 64 class WebDataSourceImpl; | 64 class WebDataSourceImpl; |
| 65 class WebInputElement; | 65 class WebInputElement; |
| 66 class WebFrameClient; | 66 class WebFrameClient; |
| 67 class WebPerformance; | 67 class WebPerformance; |
| 68 class WebPlugin; | 68 class WebPlugin; |
| 69 class WebPluginContainerImpl; | 69 class WebPluginContainerImpl; |
| 70 class WebString; |
| 70 class WebView; | 71 class WebView; |
| 71 class WebViewImpl; | 72 class WebViewImpl; |
| 72 struct WebPrintParams; | 73 struct WebPrintParams; |
| 73 | 74 |
| 74 template <typename T> class WebVector; | 75 template <typename T> class WebVector; |
| 75 | 76 |
| 76 // Implementation of WebFrame, note that this is a reference counted object. | 77 // Implementation of WebFrame, note that this is a reference counted object. |
| 77 class WebLocalFrameImpl FINAL | 78 class WebLocalFrameImpl FINAL |
| 78 : public WebLocalFrame | 79 : public WebLocalFrame |
| 79 , public RefCounted<WebLocalFrameImpl> { | 80 , public RefCounted<WebLocalFrameImpl> { |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const OVERRIDE; | 225 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const OVERRIDE; |
| 225 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; | 226 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; |
| 226 virtual WebRect selectionBoundsRect() const OVERRIDE; | 227 virtual WebRect selectionBoundsRect() const OVERRIDE; |
| 227 | 228 |
| 228 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
OVERRIDE; | 229 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
OVERRIDE; |
| 229 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE
; | 230 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE
; |
| 230 | 231 |
| 231 // WebLocalFrame methods: | 232 // WebLocalFrame methods: |
| 232 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE; | 233 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE; |
| 233 | 234 |
| 235 void removeSpellingMarkersUnderWords(const WebVector<WebString>& words); |
| 236 |
| 234 void willDetachParent(); | 237 void willDetachParent(); |
| 235 | 238 |
| 236 static WebLocalFrameImpl* create(WebFrameClient*); | 239 static WebLocalFrameImpl* create(WebFrameClient*); |
| 237 virtual ~WebLocalFrameImpl(); | 240 virtual ~WebLocalFrameImpl(); |
| 238 | 241 |
| 239 PassRefPtr<blink::LocalFrame> initializeWebCoreFrame(blink::FrameHost*, blin
k::FrameOwner*, const AtomicString& name, const AtomicString& fallbackName); | 242 PassRefPtr<blink::LocalFrame> initializeWebCoreFrame(blink::FrameHost*, blin
k::FrameOwner*, const AtomicString& name, const AtomicString& fallbackName); |
| 240 | 243 |
| 241 PassRefPtr<blink::LocalFrame> createChildFrame( | 244 PassRefPtr<blink::LocalFrame> createChildFrame( |
| 242 const blink::FrameLoadRequest&, blink::HTMLFrameOwnerElement*); | 245 const blink::FrameLoadRequest&, blink::HTMLFrameOwnerElement*); |
| 243 | 246 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 UserMediaClientImpl m_userMediaClientImpl; | 359 UserMediaClientImpl m_userMediaClientImpl; |
| 357 | 360 |
| 358 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; | 361 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; |
| 359 }; | 362 }; |
| 360 | 363 |
| 361 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 364 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 362 | 365 |
| 363 } // namespace blink | 366 } // namespace blink |
| 364 | 367 |
| 365 #endif | 368 #endif |
| OLD | NEW |