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

Unified Diff: ui/views/widget/desktop_aura/desktop_factory_ozone.h

Issue 2830933006: Obsolete the ozone code path in ui/views/ (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/widget/desktop_aura/desktop_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_factory_ozone.h
diff --git a/ui/views/widget/desktop_aura/desktop_factory_ozone.h b/ui/views/widget/desktop_aura/desktop_factory_ozone.h
deleted file mode 100644
index ea1c92e38856cb974f4c72d28fc2947dab6f6a0d..0000000000000000000000000000000000000000
--- a/ui/views/widget/desktop_aura/desktop_factory_ozone.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2013 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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_
-#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_
-
-#include "ui/views/views_export.h"
-
-namespace display {
-class Screen;
-}
-
-namespace views {
-class DesktopNativeWidgetAura;
-class DesktopWindowTreeHost;
-
-namespace internal {
-class NativeWidgetDelegate;
-}
-
-class VIEWS_EXPORT DesktopFactoryOzone {
- public:
- DesktopFactoryOzone();
- virtual ~DesktopFactoryOzone();
-
- // Returns the instance.
- static DesktopFactoryOzone* GetInstance();
-
- // Sets the implementation delegate. Ownership is retained by the caller.
- static void SetInstance(DesktopFactoryOzone* impl);
-
- // Delegates implementation of DesktopWindowTreeHost::Create externally to
- // Ozone implementation.
- virtual DesktopWindowTreeHost* CreateWindowTreeHost(
- internal::NativeWidgetDelegate* native_widget_delegate,
- DesktopNativeWidgetAura* desktop_native_widget_aura) = 0;
-
- // Delegates implementation of DesktopScreen externally to
- // Ozone implementation.
- virtual display::Screen* CreateDesktopScreen() = 0;
-
- private:
- static DesktopFactoryOzone* impl_; // not owned
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FACTORY_OZONE_H_
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/widget/desktop_aura/desktop_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698