Chromium Code Reviews| Index: public/web/WebFrameWidget.h |
| diff --git a/public/web/WebPagePopup.h b/public/web/WebFrameWidget.h |
| similarity index 82% |
| copy from public/web/WebPagePopup.h |
| copy to public/web/WebFrameWidget.h |
| index e9060279b282959637f91615dd5086d8176abf25..5a77baaefcef9b2435e823d57c0aa3d557472ac2 100644 |
| --- a/public/web/WebPagePopup.h |
| +++ b/public/web/WebFrameWidget.h |
| @@ -1,5 +1,5 @@ |
| /* |
| - * Copyright (C) 2012 Google Inc. All rights reserved. |
| + * Copyright (C) 2014 Google Inc. All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions are |
| @@ -28,20 +28,23 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -#ifndef WebPagePopup_h |
| -#define WebPagePopup_h |
| +#ifndef WebFrameWidget_h |
| +#define WebFrameWidget_h |
| #include "../platform/WebCommon.h" |
| -#include "WebWidget.h" |
| +#include "public/web/WebWidget.h" |
| namespace blink { |
| +class WebLocalFrame; |
| +class WebView; |
| class WebWidgetClient; |
| -class WebPagePopup : public WebWidget { |
| +class WebFrameWidget : public WebWidget { |
| public: |
| - BLINK_EXPORT static WebPagePopup* create(WebWidgetClient*); |
| - virtual WebPoint positionRelativeToOwner() = 0; |
| + BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebView*); |
|
dcheng
2014/12/16 20:13:06
Why does this take a WebView* instead of a WebLoca
kenrb
2014/12/16 22:04:12
See above.
|
| + |
| + virtual void setLocalRoot(WebLocalFrame*) = 0; |
| }; |
| } // namespace blink |