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

Unified Diff: ash/shell.h

Issue 1782793002: Ash: Implement Toasts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed the comment Created 4 years, 9 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 | « ash/shelf/shelf_layout_manager.h ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 74d0f125ee2250c829762f8ae26f5a41b4ec6317..e07d23b1e139e39d98bdd6b491c1cf4e8b044f03 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -141,6 +141,7 @@ class SystemModalContainerEventFilter;
class SystemTray;
class SystemTrayDelegate;
class SystemTrayNotifier;
+class ToastManager;
class ToplevelWindowEventHandler;
class TouchTransformerController;
class TouchObserverHUD;
@@ -583,6 +584,8 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
}
#endif // defined(OS_CHROMEOS)
+ ToastManager* toast_manager() { return toast_manager_.get(); }
+
GPUSupport* gpu_support() { return gpu_support_.get(); }
private:
@@ -745,6 +748,7 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
scoped_ptr<ui::EventHandler> speech_feedback_handler_;
#endif // defined(OS_CHROMEOS)
+ scoped_ptr<ToastManager> toast_manager_;
scoped_ptr<MaximizeModeController> maximize_mode_controller_;
// |native_cursor_manager_| is owned by |cursor_manager_|, but we keep a
« no previous file with comments | « ash/shelf/shelf_layout_manager.h ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698