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

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

Issue 2504743002: Linux Aura: Fixes and improvements for cursor loader (Closed)
Patch Set: Formatting Created 4 years, 1 month 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_cursor_loader_updater_auralinux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
diff --git a/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h b/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
deleted file mode 100644
index c2269a576f8eccb3621e6599e56517ee86362912..0000000000000000000000000000000000000000
--- a/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 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_CURSOR_LOADER_UPDATER_H_
-#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_
-
-#include <memory>
-
-#include "ui/views/views_export.h"
-
-namespace display {
-class Display;
-}
-
-namespace ui {
-class CursorLoader;
-}
-
-namespace views {
-
-// An interface to optionally update the state of a cursor loader. Only used on
-// desktop AuraX11.
-class VIEWS_EXPORT DesktopCursorLoaderUpdater {
- public:
- virtual ~DesktopCursorLoaderUpdater() {}
-
- // Creates a new DesktopCursorLoaderUpdater, or NULL if the platform doesn't
- // support one.
- static std::unique_ptr<DesktopCursorLoaderUpdater> Create();
-
- // Called when a CursorLoader is created.
- virtual void OnCreate(float device_scale_factor,
- ui::CursorLoader* loader) = 0;
-
- // Called when the display has changed (as we may need to reload the cursor
- // assets in response to a device scale factor or rotation change).
- virtual void OnDisplayUpdated(const display::Display& display,
- ui::CursorLoader* loader) = 0;
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPLAY_CHANGE_HANDLER_H_
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698