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

Unified Diff: Source/modules/app_banner/AppBannerController.h

Issue 942913002: [AppBanner] Blink implementation of an event when an install banner is shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/modules/app_banner/AppBannerController.h
diff --git a/Source/modules/app_banner/AppBannerController.h b/Source/modules/app_banner/AppBannerController.h
new file mode 100644
index 0000000000000000000000000000000000000000..d97ab5dd176ebca907744dee8e24fe0d77ef3f81
--- /dev/null
+++ b/Source/modules/app_banner/AppBannerController.h
@@ -0,0 +1,24 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef AppBannerController_h
+#define AppBannerController_h
+
+namespace blink {
+
+class LocalFrame;
+class WebString;
+
+class AppBannerController final {
Mike West 2015/03/06 14:30:29 Wrapping this in a class doesn't really win you mu
mlamouri (slow - plz ping) 2015/03/06 18:50:47 It's in a class because AppBannerController will b
+public:
+ static void willShowInstallBannerPrompt(LocalFrame*, const WebString& platform, bool* cancel);
Mike West 2015/03/06 14:30:29 I have a vague suspicion that replacing that bool
mlamouri (slow - plz ping) 2015/03/06 18:50:47 Done.
+
+private:
+ AppBannerController() = delete;
+ ~AppBannerController() = delete;
+};
+
+} // namespace blink
+
+#endif // AppBannerController_h

Powered by Google App Engine
This is Rietveld 408576698