Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
| diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
| index c31ab53ff7e85eb90f1be7f79a8832b260de0151..9cb154427fb56f397c53e0d0076b7d07cff818c5 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
| +++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
| @@ -37,7 +37,6 @@ namespace blink { |
| class ExceptionState; |
| class Frame; |
| class FrameOrPlugin; |
| -class FrameViewBase; |
| class LayoutPart; |
| class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
| @@ -62,9 +61,9 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
| virtual bool LoadedNonEmptyDocument() const { return false; } |
| virtual void DidLoadNonEmptyDocument() {} |
| - void SetWidget(FrameViewBase*); |
| - FrameViewBase* ReleaseWidget(); |
| - FrameViewBase* OwnedWidget() const; |
| + void SetWidget(FrameOrPlugin*); |
|
joelhockey
2017/05/01 23:04:35
Widget type has changed from platform/FrameViewBas
dcheng
2017/05/09 07:50:51
FrameOrPlugin doesn't really help readers understa
joelhockey
2017/05/10 02:35:43
agree. If I knew before what I know now, I would
szager1
2017/05/10 09:41:03
My $.02: Widget would still have been a bad name,
|
| + FrameOrPlugin* ReleaseWidget(); |
| + FrameOrPlugin* OwnedWidget() const { return widget_; } |
| class UpdateSuspendScope { |
| STACK_ALLOCATED(); |
| @@ -141,7 +140,7 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
| } |
| Member<Frame> content_frame_; |
| - Member<FrameViewBase> widget_; |
| + Member<FrameOrPlugin> widget_; |
| SandboxFlags sandbox_flags_; |
| WebParsedFeaturePolicy container_policy_; |