| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 // Implementation of WebFrame, note that this is a reference counted object. | 81 // Implementation of WebFrame, note that this is a reference counted object. |
| 82 class WEB_EXPORT WebLocalFrameImpl final | 82 class WEB_EXPORT WebLocalFrameImpl final |
| 83 : public WebFrameImplBase, | 83 : public WebFrameImplBase, |
| 84 NON_EXPORTED_BASE(public WebLocalFrame) { | 84 NON_EXPORTED_BASE(public WebLocalFrame) { |
| 85 public: | 85 public: |
| 86 // WebFrame methods: | 86 // WebFrame methods: |
| 87 // TODO(dcheng): Fix sorting here; a number of method have been moved to | 87 // TODO(dcheng): Fix sorting here; a number of method have been moved to |
| 88 // WebLocalFrame but not correctly updated here. | 88 // WebLocalFrame but not correctly updated here. |
| 89 void close() override; | 89 void close() override; |
| 90 WebString uniqueName() const override; | |
| 91 WebString assignedName() const override; | 90 WebString assignedName() const override; |
| 92 void setName(const WebString&) override; | 91 void setName(const WebString&) override; |
| 93 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override; | 92 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override; |
| 94 void setContentSettingsClient(WebContentSettingsClient*) override; | 93 void setContentSettingsClient(WebContentSettingsClient*) override; |
| 95 void setSharedWorkerRepositoryClient( | 94 void setSharedWorkerRepositoryClient( |
| 96 WebSharedWorkerRepositoryClient*) override; | 95 WebSharedWorkerRepositoryClient*) override; |
| 97 WebSize getScrollOffset() const override; | 96 WebSize getScrollOffset() const override; |
| 98 void setScrollOffset(const WebSize&) override; | 97 void setScrollOffset(const WebSize&) override; |
| 99 WebSize contentsSize() const override; | 98 WebSize contentsSize() const override; |
| 100 bool hasVisibleContent() const override; | 99 bool hasVisibleContent() const override; |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 base::SingleThreadTaskRunner* unthrottledTaskRunner() override; | 304 base::SingleThreadTaskRunner* unthrottledTaskRunner() override; |
| 306 WebInputMethodControllerImpl* inputMethodController() const override; | 305 WebInputMethodControllerImpl* inputMethodController() const override; |
| 307 | 306 |
| 308 void extractSmartClipData(WebRect rectInViewport, | 307 void extractSmartClipData(WebRect rectInViewport, |
| 309 WebString& clipText, | 308 WebString& clipText, |
| 310 WebString& clipHtml) override; | 309 WebString& clipHtml) override; |
| 311 | 310 |
| 312 // WebFrameImplBase methods: | 311 // WebFrameImplBase methods: |
| 313 void initializeCoreFrame(FrameHost*, | 312 void initializeCoreFrame(FrameHost*, |
| 314 FrameOwner*, | 313 FrameOwner*, |
| 315 const AtomicString& name, | 314 const AtomicString& name) override; |
| 316 const AtomicString& uniqueName) override; | |
| 317 LocalFrame* frame() const override { return m_frame.get(); } | 315 LocalFrame* frame() const override { return m_frame.get(); } |
| 318 | 316 |
| 319 void willBeDetached(); | 317 void willBeDetached(); |
| 320 void willDetachParent(); | 318 void willDetachParent(); |
| 321 | 319 |
| 322 static WebLocalFrameImpl* create(WebTreeScopeType, | 320 static WebLocalFrameImpl* create(WebTreeScopeType, |
| 323 WebFrameClient*, | 321 WebFrameClient*, |
| 324 blink::InterfaceProvider*, | 322 blink::InterfaceProvider*, |
| 325 blink::InterfaceRegistry*, | 323 blink::InterfaceRegistry*, |
| 326 WebFrame* opener); | 324 WebFrame* opener); |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 | 500 |
| 503 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 501 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
| 504 WebFrame, | 502 WebFrame, |
| 505 frame, | 503 frame, |
| 506 frame->isWebLocalFrame(), | 504 frame->isWebLocalFrame(), |
| 507 frame.isWebLocalFrame()); | 505 frame.isWebLocalFrame()); |
| 508 | 506 |
| 509 } // namespace blink | 507 } // namespace blink |
| 510 | 508 |
| 511 #endif | 509 #endif |
| OLD | NEW |