Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / views / widget / desktop_aura / desktop_cursor_loader_updater_auralinux.h
blobd0be0944fabcddf8e453b1c94d72f3a25336c3ac
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"
11 namespace views {
13 // Loads the subset of aura cursors that X11 doesn't provide.
14 class DesktopCursorLoaderUpdaterAuraLinux : public DesktopCursorLoaderUpdater {
15 public:
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;
25 } // namespace views
27 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPLAY_CHANGE_HANDLER_AURALINUX_H_