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

Unified Diff: ash/common/wm_shell.h

Issue 2563643003: mash: Change the MediaDelegate to a Media{Controller,Client}. (Closed)
Patch Set: Comment fixes Created 4 years 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/common/system/user/user_card_view.cc ('k') | ash/common/wm_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index 9eff74dcbe70f1bcd8eecb3a6fdff206df46424f..ad8b5c10ff19b8c51f0e1ca9e59a24a7ddfe7bae 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -11,7 +11,6 @@
#include <vector>
#include "ash/ash_export.h"
-#include "ash/common/media_delegate.h"
#include "ash/common/metrics/gesture_action_type.h"
#include "ash/common/metrics/user_metrics_action.h"
#include "ash/common/wm/lock_state_observer.h"
@@ -53,6 +52,7 @@ class KeyboardBrightnessControlDelegate;
class KeyboardUI;
class LocaleNotificationController;
class MaximizeModeController;
+class MediaController;
class MruWindowTracker;
class NewWindowController;
class PaletteDelegate;
@@ -141,7 +141,7 @@ class ASH_EXPORT WmShell {
MruWindowTracker* mru_window_tracker() { return mru_window_tracker_.get(); }
- MediaDelegate* media_delegate() { return media_delegate_.get(); }
+ MediaController* media_controller() { return media_controller_.get(); }
NewWindowController* new_window_controller() {
return new_window_controller_.get();
@@ -490,7 +490,7 @@ class ASH_EXPORT WmShell {
std::unique_ptr<KeyboardUI> keyboard_ui_;
std::unique_ptr<LocaleNotificationController> locale_notification_controller_;
std::unique_ptr<MaximizeModeController> maximize_mode_controller_;
- std::unique_ptr<MediaDelegate> media_delegate_;
+ std::unique_ptr<MediaController> media_controller_;
std::unique_ptr<MruWindowTracker> mru_window_tracker_;
std::unique_ptr<NewWindowController> new_window_controller_;
std::unique_ptr<PaletteDelegate> palette_delegate_;
« no previous file with comments | « ash/common/system/user/user_card_view.cc ('k') | ash/common/wm_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698