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

Unified Diff: apps/app_window.h

Issue 287123002: [WebModals] New API for browser-scoped popup management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 | « no previous file | apps/app_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_window.h
diff --git a/apps/app_window.h b/apps/app_window.h
index f2e0e98d815be3c42a10bc939588a7e3cf0d1307..9873eedb0be7fc255e52140de2808ba12481d32d 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -8,6 +8,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/sessions/session_id.h"
+#include "components/web_modal/popup_manager.h"
#include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -522,6 +523,10 @@ class AppWindow : public content::NotificationObserver,
scoped_ptr<AppWindowContents> app_window_contents_;
scoped_ptr<Delegate> delegate_;
+ // Manages popup windows (bubbles, tab-modals) visible overlapping the
+ // app window.
+ scoped_ptr<web_modal::PopupManager> popup_manager_;
+
base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_;
// Bit field of FullscreenType.
« no previous file with comments | « no previous file | apps/app_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698