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

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

Issue 2737883002: Rename LayoutPart::widget to LayoutPart::frameViewBase (Closed)
Patch Set: Rename LayoutPart::widget to LayoutPart::frameViewBase Created 3 years, 9 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.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
index bfbb296012feaaade90c4753de4f57ca1b2d254c..139cff415c15afbd9c1dc5acd55d4e4f767287b9 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
@@ -159,7 +159,7 @@ bool HTMLPlugInElement::willRespondToMouseClickEvents() {
void HTMLPlugInElement::removeAllEventListeners() {
HTMLFrameOwnerElement::removeAllEventListeners();
if (LayoutPart* layoutObject = existingLayoutPart()) {
- if (FrameViewBase* frameViewBase = layoutObject->widget())
+ if (FrameViewBase* frameViewBase = layoutObject->frameViewBase())
frameViewBase->eventListenersRemoved();
}
}
@@ -341,7 +341,7 @@ SharedPersistent<v8::Object>* HTMLPlugInElement::pluginWrapper() {
FrameViewBase* HTMLPlugInElement::pluginWidget() const {
if (LayoutPart* layoutPart = layoutPartForJSBindings())
- return layoutPart->widget();
+ return layoutPart->frameViewBase();
return nullptr;
}
@@ -394,7 +394,7 @@ void HTMLPlugInElement::defaultEventHandler(Event* event) {
.showsUnavailablePluginIndicator())
return;
}
- FrameViewBase* frameViewBase = toLayoutPart(r)->widget();
+ FrameViewBase* frameViewBase = toLayoutPart(r)->frameViewBase();
if (!frameViewBase)
return;
frameViewBase->handleEvent(event);
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/html/PluginDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698