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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 2434463004: mash: Move directly linked NewWindowDelegate to mojom::NewWindowClient. (Closed)
Patch Set: Actually rename the browser test. Created 4 years, 2 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
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index 43254dd9ff609bb47a9bbb61054559c2218cb0f4..05a64e81f19f4529d4de6ec9be972ddf7834c54f 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -11,7 +11,6 @@
#include "ash/common/default_accessibility_delegate.h"
#include "ash/common/gpu_support_stub.h"
#include "ash/common/media_delegate.h"
-#include "ash/common/new_window_delegate.h"
#include "ash/common/palette_delegate.h"
#include "ash/common/session/session_state_delegate.h"
#include "ash/common/test/test_session_state_delegate.h"
@@ -39,26 +38,6 @@ namespace ash {
namespace test {
namespace {
-class NewWindowDelegateImpl : public NewWindowDelegate {
- public:
- NewWindowDelegateImpl() {}
- ~NewWindowDelegateImpl() override {}
-
- private:
- // NewWindowDelegate:
- void NewTab() override {}
- void NewWindow(bool incognito) override {}
- void OpenFileManager() override {}
- void OpenCrosh() override {}
- void OpenGetHelp() override {}
- void RestoreTab() override {}
- void ShowKeyboardOverlay() override {}
- void ShowTaskManager() override {}
- void OpenFeedbackPage() override {}
-
- DISALLOW_COPY_AND_ASSIGN(NewWindowDelegateImpl);
-};
-
class MediaDelegateImpl : public MediaDelegate {
public:
MediaDelegateImpl() : state_(MEDIA_CAPTURE_NONE) {}
@@ -183,10 +162,6 @@ AccessibilityDelegate* TestShellDelegate::CreateAccessibilityDelegate() {
return new DefaultAccessibilityDelegate();
}
-NewWindowDelegate* TestShellDelegate::CreateNewWindowDelegate() {
- return new NewWindowDelegateImpl;
-}
-
MediaDelegate* TestShellDelegate::CreateMediaDelegate() {
return new MediaDelegateImpl;
}

Powered by Google App Engine
This is Rietveld 408576698