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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.h

Issue 2722953003: Part 1 to rename platform/Widget to platform/FrameViewBase. (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/core/html/HTMLPlugInElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
index 69d35f22a1b99d1d39d5e33ebb7e30ee014782d2..2b86d8915eaafb5945dca430b53698d726c991fd 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
@@ -31,10 +31,10 @@
namespace blink {
+class FrameViewBase;
class HTMLImageLoader;
class LayoutPart;
class LayoutEmbeddedItem;
-class Widget;
enum PreferPlugInsForImagesOption {
ShouldPreferPlugInsForImages,
@@ -50,7 +50,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
// TODO(dcheng): Consider removing this, since HTMLEmbedElementLegacyCall
// and HTMLObjectElementLegacyCall usage is extremely low.
SharedPersistent<v8::Object>* pluginWrapper();
- Widget* pluginWidget() const;
+ FrameViewBase* pluginWidget() const;
bool canProcessDrag() const;
const String& url() const { return m_url; }
@@ -157,7 +157,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
bool allowedToLoadObject(const KURL&, const String& mimeType);
bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType);
- void setPersistedPluginWidget(Widget*);
+ void setPersistedPluginWidget(FrameViewBase*);
bool requestObjectInternal(const String& url,
const String& mimeType,
@@ -177,7 +177,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
// prevent confusing code which may assume that widget() != null
// means the frame is active, we save off m_widget here while
// the plugin is persisting but not being displayed.
- Member<Widget> m_persistedPluginWidget;
+ Member<FrameViewBase> m_persistedPluginWidget;
};
inline bool isHTMLPlugInElement(const HTMLElement& element) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h ('k') | third_party/WebKit/Source/core/html/PluginDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698