| Index: components/mus/ws/platform_display_delegate.h
|
| diff --git a/components/mus/ws/platform_display_delegate.h b/components/mus/ws/platform_display_delegate.h
|
| deleted file mode 100644
|
| index 95a9c761dc40db21aa51cbcd99d302badfa1e715..0000000000000000000000000000000000000000
|
| --- a/components/mus/ws/platform_display_delegate.h
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef COMPONENTS_MUS_WS_PLATFORM_DISPLAY_DELEGATE_H_
|
| -#define COMPONENTS_MUS_WS_PLATFORM_DISPLAY_DELEGATE_H_
|
| -
|
| -#include "components/mus/ws/ids.h"
|
| -
|
| -namespace ui {
|
| -class Event;
|
| -}
|
| -
|
| -namespace mus {
|
| -
|
| -namespace ws {
|
| -
|
| -class ServerWindow;
|
| -struct ViewportMetrics;
|
| -
|
| -// PlatformDisplayDelegate is implemented by an object that manages the
|
| -// lifetime of a PlatformDisplay, forwards events to the appropriate windows,
|
| -/// and responses to changes in viewport size.
|
| -class PlatformDisplayDelegate {
|
| - public:
|
| - // Returns the root window of this display.
|
| - virtual ServerWindow* GetRootWindow() = 0;
|
| -
|
| - // Called when the window managed by the PlatformDisplay is closed.
|
| - virtual void OnDisplayClosed() = 0;
|
| -
|
| - // Called when an event arrives.
|
| - virtual void OnEvent(const ui::Event& event) = 0;
|
| -
|
| - // Called when the Display loses capture.
|
| - virtual void OnNativeCaptureLost() = 0;
|
| -
|
| - // Signals that the metrics of this display's viewport has changed.
|
| - virtual void OnViewportMetricsChanged(const ViewportMetrics& old_metrics,
|
| - const ViewportMetrics& new_metrics) = 0;
|
| -
|
| - // Called when a compositor frame is finished drawing.
|
| - virtual void OnCompositorFrameDrawn() = 0;
|
| -
|
| - protected:
|
| - virtual ~PlatformDisplayDelegate() {}
|
| -};
|
| -
|
| -} // namespace ws
|
| -
|
| -} // namespace mus
|
| -
|
| -#endif // COMPONENTS_MUS_WS_PLATFORM_DISPLAY_DELEGATE_H_
|
|
|