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

Unified Diff: services/ui/ws/test_utils.h

Issue 2759933007: [mus]Add FrameGenerator::SetHighContrastMode(bool) (Closed)
Patch Set: Addressed nit and removed instances of FrameGeneratorDelegate Created 3 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
Index: services/ui/ws/test_utils.h
diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
index 22ddee3cbb99ade45c5e89015dca7d90d946d5fb..fe79c0f08aca8faab00bd6efaa5fc1ad95cc5c94 100644
--- a/services/ui/ws/test_utils.h
+++ b/services/ui/ws/test_utils.h
@@ -21,7 +21,6 @@
#include "services/ui/ws/display_binding.h"
#include "services/ui/ws/drag_controller.h"
#include "services/ui/ws/event_dispatcher.h"
-#include "services/ui/ws/frame_generator_delegate.h"
#include "services/ui/ws/platform_display.h"
#include "services/ui/ws/platform_display_factory.h"
#include "services/ui/ws/test_change_tracker.h"
@@ -289,20 +288,6 @@ class TestPlatformDisplayFactory : public PlatformDisplayFactory {
// -----------------------------------------------------------------------------
-// A stub implementation of FrameGeneratorDelegate.
-class TestFrameGeneratorDelegate : public FrameGeneratorDelegate {
- public:
- TestFrameGeneratorDelegate();
- ~TestFrameGeneratorDelegate() override;
-
- // FrameGeneratorDelegate:
- bool IsInHighContrastMode() override;
-
- DISALLOW_COPY_AND_ASSIGN(TestFrameGeneratorDelegate);
-};
-
-// -----------------------------------------------------------------------------
-
class TestWindowManager : public mojom::WindowManager {
public:
TestWindowManager()

Powered by Google App Engine
This is Rietveld 408576698