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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindowInstallation.h

Issue 2379923002: Implement "appinstalled" event on Android. (Closed)
Patch Set: Minor refactor. Created 4 years, 2 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/frame/DOMWindowInstallation.h
diff --git a/third_party/WebKit/Source/core/events/EventUtil.h b/third_party/WebKit/Source/core/frame/DOMWindowInstallation.h
similarity index 51%
copy from third_party/WebKit/Source/core/events/EventUtil.h
copy to third_party/WebKit/Source/core/frame/DOMWindowInstallation.h
index 8c65453493617973914a19cdcd49890d34c82141..d511b1e5621a99e9ce9d92f0d5feb7af4b41bc63 100644
--- a/third_party/WebKit/Source/core/events/EventUtil.h
+++ b/third_party/WebKit/Source/core/frame/DOMWindowInstallation.h
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef EventUtil_h
-#define EventUtil_h
+#ifndef DOMWindowInstallation_h
+#define DOMWindowInstallation_h
#include "core/EventTypeNames.h"
+#include "core/events/EventTarget.h"
namespace blink {
-namespace EventUtil {
-
-bool isPointerEventType(const AtomicString& eventType);
-
-} // namespace eventUtil
+class DOMWindowInstallation {
+ public:
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(appinstalled);
+};
} // namespace blink
-#endif // EventUtil_h
+#endif // DOMWindowInstallation_h

Powered by Google App Engine
This is Rietveld 408576698