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

Unified Diff: chrome/renderer/banners/app_banner_client.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
« no previous file with comments | « chrome/renderer/banners/OWNERS ('k') | chrome/renderer/banners/app_banner_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/banners/app_banner_client.h
diff --git a/chrome/renderer/banners/app_banner_client.h b/chrome/renderer/banners/app_banner_client.h
deleted file mode 100644
index 50ba6ad0ce8cc1df9a3c4fe67f1fe6bea24ebbef..0000000000000000000000000000000000000000
--- a/chrome/renderer/banners/app_banner_client.h
+++ /dev/null
@@ -1,50 +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 CHROME_RENDERER_BANNERS_APP_BANNER_CLIENT_H_
-#define CHROME_RENDERER_BANNERS_APP_BANNER_CLIENT_H_
-
-#include <stdint.h>
-#include <string>
-
-#include "base/id_map.h"
-#include "base/macros.h"
-#include "content/public/renderer/render_frame_observer.h"
-#include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClient.h"
-#include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerPromptResult.h"
-
-namespace IPC {
-class Message;
-} // namespace IPC
-
-class AppBannerClient : public content::RenderFrameObserver,
- public blink::WebAppBannerClient {
- public:
- explicit AppBannerClient(content::RenderFrame* render_frame);
- ~AppBannerClient() override;
-
- private:
- // content::RenderFrameObserver implementation.
- void OnDestruct() override;
- bool OnMessageReceived(const IPC::Message& message) override;
-
- // WebAppBannerClient implementation.
- void registerBannerCallbacks(int request_id,
- blink::WebAppBannerCallbacks*) override;
-
- void showAppBanner(int request_id) override;
-
- void ResolveEvent(int request_id,
- const std::string& platform,
- const blink::WebAppBannerPromptResult::Outcome& outcome);
- void OnBannerAccepted(int request_id, const std::string& platform);
- void OnBannerDismissed(int request_id);
-
- IDMap<blink::WebAppBannerCallbacks, IDMapOwnPointer>
- banner_callbacks_;
-
- DISALLOW_COPY_AND_ASSIGN(AppBannerClient);
-};
-
-#endif // CHROME_RENDERER_BANNERS_APP_BANNER_CLIENT_H_
« no previous file with comments | « chrome/renderer/banners/OWNERS ('k') | chrome/renderer/banners/app_banner_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698