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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.h

Issue 2729543002: Rename platform/Widget to platform/FrameViewBase in web. (Closed)
Patch Set: Created 3 years, 10 months 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
Index: third_party/WebKit/Source/web/WebPluginContainerImpl.h
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.h b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
index fbf8d7748c756abc9594819fc99e7f08e1bfafb1..c033f7f41c60e6fa522a78dd1afdd8e717b60ecb 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.h
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
@@ -34,7 +34,7 @@
#include "core/dom/ContextLifecycleObserver.h"
#include "core/plugins/PluginView.h"
-#include "platform/Widget.h"
+#include "platform/FrameViewBase.h"
#include "public/web/WebPluginContainer.h"
#include "web/WebExport.h"
#include "wtf/Compiler.h"
@@ -81,7 +81,7 @@ class WEB_EXPORT WebPluginContainerImpl final
void updateAllLifecyclePhases() override;
void invalidatePaintIfNeeded() override { issuePaintInvalidations(); }
- // Widget methods
+ // FrameViewBase methods
void setFrameRect(const IntRect&) override;
void paint(GraphicsContext&, const CullRect&) const override;
void invalidateRect(const IntRect&) override;
@@ -220,11 +220,11 @@ class WEB_EXPORT WebPluginContainerImpl final
};
DEFINE_TYPE_CASTS(WebPluginContainerImpl,
- Widget,
- widget,
- widget->isPluginContainer(),
- widget.isPluginContainer());
-// Unlike Widget, we need not worry about object type for container.
+ FrameViewBase,
+ frameViewBase,
+ frameViewBase->isPluginContainer(),
+ frameViewBase.isPluginContainer());
+// Unlike FrameViewBase, we need not worry about object type for container.
// WebPluginContainerImpl is the only subclass of WebPluginContainer.
DEFINE_TYPE_CASTS(WebPluginContainerImpl,
WebPluginContainer,
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.cpp ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698