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

Unified Diff: chrome/browser/chrome_browser_main_extra_parts_exo.cc

Issue 2066853002: arc: Show custom notification via notification surface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notification-exo
Patch Set: rebase Created 4 years, 6 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/browser/chrome_browser_main_extra_parts_exo.h ('k') | components/arc/common/notifications.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_extra_parts_exo.cc
diff --git a/chrome/browser/chrome_browser_main_extra_parts_exo.cc b/chrome/browser/chrome_browser_main_extra_parts_exo.cc
index cdd2a698bc9276ae3e41a99fe93d33e996f12900..ee29d96126806cd0c65dc54b19fb4690cb4fdca1 100644
--- a/chrome/browser/chrome_browser_main_extra_parts_exo.cc
+++ b/chrome/browser/chrome_browser_main_extra_parts_exo.cc
@@ -18,6 +18,7 @@
#include "components/exo/display.h"
#include "components/exo/wayland/server.h"
#include "content/public/browser/browser_thread.h"
+#include "ui/arc/notification/arc_notification_surface_manager.h"
#if defined(USE_GLIB)
namespace {
@@ -110,7 +111,8 @@ class ChromeBrowserMainExtraPartsExo::WaylandWatcher
#endif
ChromeBrowserMainExtraPartsExo::ChromeBrowserMainExtraPartsExo()
- : display_(new exo::Display) {}
+ : arc_notification_surface_manager_(new arc::ArcNotificationSurfaceManager),
+ display_(new exo::Display(arc_notification_surface_manager_.get())) {}
ChromeBrowserMainExtraPartsExo::~ChromeBrowserMainExtraPartsExo() {}
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_exo.h ('k') | components/arc/common/notifications.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698