Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Unified Diff: public/web/WebFrameWidget.h

Issue 638003004: Introduce WebFrameWidget to Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More review updates Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« Source/web/WebLocalFrameImpl.cpp ('K') | « Source/web/web.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« Source/web/WebLocalFrameImpl.cpp ('K') | « Source/web/web.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698