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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2719333002: second stage
Patch Set: Need to get around resource loading without web/ 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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 93281bfa9bdd022a48a26d137f50d11df7ea897d..d1b2cfcbfc450207eaf42f3d92f0276ebc2af977 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -136,6 +136,7 @@
#include "core/html/HTMLImageElement.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/HTMLLinkElement.h"
+#include "core/html/HTMLPlugInElement.h"
#include "core/html/PluginDocument.h"
#include "core/input/EventHandler.h"
#include "core/inspector/ConsoleMessage.h"
@@ -160,6 +161,7 @@
#include "core/timing/Performance.h"
#include "modules/app_banner/AppBannerController.h"
#include "modules/installation/InstallationServiceImpl.h"
+#include "modules/mime_handler_view/MimeHandlerView.h"
#include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
#include "platform/ScriptForbiddenScope.h"
#include "platform/UserGestureIndicator.h"
@@ -2444,4 +2446,14 @@ void WebLocalFrameImpl::extractSmartClipData(WebRect rectInViewport,
}
}
+PluginClient* WebLocalFrameImpl::createMimeHandlerView(
+ HTMLPlugInElement* element,
+ const WebURL& url,
+ const WebString& mimeType) {
+ if (!m_client)
+ return nullptr;
+ return MimeHandlerView::create(
+ element, url, mimeType, m_client->getUniqueElementIdForMimeHandlerView());
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698