1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_AURALINUX_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_AURALINUX_H_
8 #include "base/compiler_specific.h"
9 #include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h"
13 // Loads the subset of aura cursors that X11 doesn't provide.
14 class DesktopCursorLoaderUpdaterAuraLinux
: public DesktopCursorLoaderUpdater
{
16 DesktopCursorLoaderUpdaterAuraLinux();
17 ~DesktopCursorLoaderUpdaterAuraLinux() override
;
19 // Overridden from DesktopCursorLoaderUpdater:
20 void OnCreate(float device_scale_factor
, ui::CursorLoader
* loader
) override
;
21 void OnDisplayUpdated(const gfx::Display
& display
,
22 ui::CursorLoader
* loader
) override
;
27 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPLAY_CHANGE_HANDLER_AURALINUX_H_