| 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 20 matching lines...) Expand all Loading... |
| 31 #ifndef WebLocalFrameImpl_h | 31 #ifndef WebLocalFrameImpl_h |
| 32 #define WebLocalFrameImpl_h | 32 #define WebLocalFrameImpl_h |
| 33 | 33 |
| 34 #include "core/editing/VisiblePosition.h" | 34 #include "core/editing/VisiblePosition.h" |
| 35 #include "core/frame/LocalFrame.h" | 35 #include "core/frame/LocalFrame.h" |
| 36 #include "platform/geometry/FloatRect.h" | 36 #include "platform/geometry/FloatRect.h" |
| 37 #include "public/platform/WebFileSystemType.h" | 37 #include "public/platform/WebFileSystemType.h" |
| 38 #include "public/web/WebLocalFrame.h" | 38 #include "public/web/WebLocalFrame.h" |
| 39 #include "web/FrameLoaderClientImpl.h" | 39 #include "web/FrameLoaderClientImpl.h" |
| 40 #include "web/UserMediaClientImpl.h" | 40 #include "web/UserMediaClientImpl.h" |
| 41 #include "web/WebExport.h" | |
| 42 #include "web/WebFrameImplBase.h" | 41 #include "web/WebFrameImplBase.h" |
| 43 #include "wtf/Compiler.h" | 42 #include "wtf/Compiler.h" |
| 44 #include "wtf/OwnPtr.h" | 43 #include "wtf/OwnPtr.h" |
| 45 #include "wtf/RefCounted.h" | 44 #include "wtf/RefCounted.h" |
| 46 #include "wtf/text/WTFString.h" | 45 #include "wtf/text/WTFString.h" |
| 47 | 46 |
| 48 namespace blink { | 47 namespace blink { |
| 49 | 48 |
| 50 class ChromePrintContext; | 49 class ChromePrintContext; |
| 51 class GeolocationClientProxy; | 50 class GeolocationClientProxy; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 67 class WebScriptExecutionCallback; | 66 class WebScriptExecutionCallback; |
| 68 class WebSuspendableTask; | 67 class WebSuspendableTask; |
| 69 class WebView; | 68 class WebView; |
| 70 class WebViewImpl; | 69 class WebViewImpl; |
| 71 struct FrameLoadRequest; | 70 struct FrameLoadRequest; |
| 72 struct WebPrintParams; | 71 struct WebPrintParams; |
| 73 | 72 |
| 74 template <typename T> class WebVector; | 73 template <typename T> class WebVector; |
| 75 | 74 |
| 76 // Implementation of WebFrame, note that this is a reference counted object. | 75 // Implementation of WebFrame, note that this is a reference counted object. |
| 77 class WEB_EXPORT WebLocalFrameImpl final : public WebFrameImplBase, WTF_NON_EXPO
RTED_BASE(public WebLocalFrame) { | 76 class WebLocalFrameImpl final : public WebFrameImplBase, public WebLocalFrame { |
| 78 public: | 77 public: |
| 79 // WebFrame methods: | 78 // WebFrame methods: |
| 80 void close() override; | 79 void close() override; |
| 81 WebString uniqueName() const override; | 80 WebString uniqueName() const override; |
| 82 WebString assignedName() const override; | 81 WebString assignedName() const override; |
| 83 void setName(const WebString&) override; | 82 void setName(const WebString&) override; |
| 84 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override; | 83 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override; |
| 85 void setRemoteWebLayer(WebLayer*) override; | 84 void setRemoteWebLayer(WebLayer*) override; |
| 86 void setContentSettingsClient(WebContentSettingsClient*) override; | 85 void setContentSettingsClient(WebContentSettingsClient*) override; |
| 87 void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient*) overr
ide; | 86 void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient*) overr
ide; |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 // cleared upon close(). | 411 // cleared upon close(). |
| 413 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 412 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 414 #endif | 413 #endif |
| 415 }; | 414 }; |
| 416 | 415 |
| 417 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 416 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 418 | 417 |
| 419 } // namespace blink | 418 } // namespace blink |
| 420 | 419 |
| 421 #endif | 420 #endif |
| OLD | NEW |