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

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

Issue 2379923002: Implement "appinstalled" event on Android. (Closed)
Patch Set: Fix up some includes. Created 4 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
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 97bbe6ac434080a8f8bffc1329c265dd5d967255..a07e69cc146e5c7fc1d644d086495ba1e353d092 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -157,6 +157,7 @@
#include "core/timing/DOMWindowPerformance.h"
#include "core/timing/Performance.h"
#include "modules/app_banner/AppBannerController.h"
+#include "modules/installation/InstallationServiceImpl.h"
#include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
#include "platform/ScriptForbiddenScope.h"
#include "platform/UserGestureIndicator.h"
@@ -1575,6 +1576,9 @@ void WebLocalFrameImpl::initializeCoreFrame(FrameHost* host,
// frame()->document().
frame()->interfaceRegistry()->addInterface(WTF::bind(
&AppBannerController::bindMojoRequest, wrapWeakPersistent(frame())));
+
+ frame()->interfaceRegistry()->addInterface(WTF::bind(
+ &InstallationServiceImpl::create, wrapWeakPersistent(frame())));
}
}

Powered by Google App Engine
This is Rietveld 408576698