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

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

Issue 2759933007: [mus]Add FrameGenerator::SetHighContrastMode(bool) (Closed)
Patch Set: 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/platform_display_default.h
diff --git a/services/ui/ws/platform_display_default.h b/services/ui/ws/platform_display_default.h
index 399594c03f9db6f83a73254dde4854c76a6cbd0c..25f4755df4bd21c1378871c80114aaa1bffdc22d 100644
--- a/services/ui/ws/platform_display_default.h
+++ b/services/ui/ws/platform_display_default.h
@@ -10,7 +10,6 @@
#include "base/macros.h"
#include "services/ui/display/viewport_metrics.h"
#include "services/ui/ws/frame_generator.h"
-#include "services/ui/ws/frame_generator_delegate.h"
#include "services/ui/ws/platform_display.h"
#include "services/ui/ws/platform_display_delegate.h"
#include "services/ui/ws/server_window.h"
@@ -27,8 +26,7 @@ namespace ws {
// PlatformDisplay implementation that connects to a PlatformWindow and
// FrameGenerator for Chrome OS.
class PlatformDisplayDefault : public PlatformDisplay,
- public ui::PlatformWindowDelegate,
- public FrameGeneratorDelegate {
+ public ui::PlatformWindowDelegate {
public:
PlatformDisplayDefault(ServerWindow* root_window,
const display::ViewportMetrics& metrics);
@@ -68,9 +66,6 @@ class PlatformDisplayDefault : public PlatformDisplay,
void OnAcceleratedWidgetDestroyed() override;
void OnActivationChanged(bool active) override;
- // FrameGeneratorDelegate:
- bool IsInHighContrastMode() override;
-
ServerWindow* root_window_;
#if !defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698