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

Unified Diff: ash/mus/shell_delegate_mus.cc

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/mus/shell_delegate_mus.h ('k') | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shell_delegate_mus.cc
diff --git a/ash/mus/shell_delegate_mus.cc b/ash/mus/shell_delegate_mus.cc
index 054100e6e6ab174db846414294f5d82e90cc4559..d47e87f30b0fe5676d6a364641c34d0bedcf0df8 100644
--- a/ash/mus/shell_delegate_mus.cc
+++ b/ash/mus/shell_delegate_mus.cc
@@ -7,7 +7,6 @@
#include <utility>
#include "ash/common/gpu_support_stub.h"
-#include "ash/common/media_delegate.h"
#include "ash/common/palette_delegate.h"
#include "ash/common/session/session_state_delegate.h"
#include "ash/common/wm_shell.h"
@@ -89,24 +88,6 @@ class SessionStateDelegateStub : public SessionStateDelegate {
DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateStub);
};
-class MediaDelegateStub : public MediaDelegate {
- public:
- MediaDelegateStub() {}
- ~MediaDelegateStub() override {}
-
- // MediaDelegate:
- void HandleMediaNextTrack() override { NOTIMPLEMENTED(); }
- void HandleMediaPlayPause() override { NOTIMPLEMENTED(); }
- void HandleMediaPrevTrack() override { NOTIMPLEMENTED(); }
- MediaCaptureState GetMediaCaptureState(UserIndex index) override {
- NOTIMPLEMENTED();
- return MEDIA_CAPTURE_NONE;
- }
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MediaDelegateStub);
-};
-
} // namespace
ShellDelegateMus::ShellDelegateMus(service_manager::Connector* connector)
@@ -198,12 +179,6 @@ AccessibilityDelegate* ShellDelegateMus::CreateAccessibilityDelegate() {
return new AccessibilityDelegateMus(connector_);
}
-MediaDelegate* ShellDelegateMus::CreateMediaDelegate() {
- // TODO: http://crbug.com/647409.
- NOTIMPLEMENTED() << " Using a stub MediaDelegate implementation";
- return new MediaDelegateStub;
-}
-
std::unique_ptr<PaletteDelegate> ShellDelegateMus::CreatePaletteDelegate() {
// TODO: http://crbug.com/647417.
NOTIMPLEMENTED();
« no previous file with comments | « ash/mus/shell_delegate_mus.h ('k') | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698