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

Unified Diff: third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.h

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Add TODO 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/modules/app_banner/AppBannerCallbacks.h
diff --git a/third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.h b/third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.h
deleted file mode 100644
index bab68badca4e5a83a5892de7207be68ef7101752..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/app_banner/AppBannerCallbacks.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// 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 AppBannerCallbacks_h
-#define AppBannerCallbacks_h
-
-#include "modules/app_banner/BeforeInstallPromptEvent.h"
-#include "public/platform/modules/app_banner/WebAppBannerClient.h"
-
-namespace blink {
-
-class AppBannerCallbacks : public WebAppBannerCallbacks {
- // FIXME(tasak): when making public/platform classes to use PartitionAlloc,
- // the following macro should be moved to WebCallbacks defined in
- // public/platformWebCallbacks.h.
- USING_FAST_MALLOC(AppBannerCallbacks);
-
- public:
- explicit AppBannerCallbacks(UserChoiceProperty*);
- ~AppBannerCallbacks() override = default;
-
- // WebAppBannerCallbacks overrides.
- void onSuccess(const WebAppBannerPromptResult&) override;
-
- private:
- Persistent<UserChoiceProperty> m_userChoice;
-};
-
-} // namespace blink
-
-#endif // AppBannerCallbacks_h

Powered by Google App Engine
This is Rietveld 408576698