Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / views / widget / desktop_aura / desktop_cursor_loader_updater_auralinux.h
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.
4
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_
7
8 #include "base/compiler_specific.h"
9 #include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h"
10
11 namespace views {
12
13 // Loads the subset of aura cursors that X11 doesn't provide.
14 class DesktopCursorLoaderUpdaterAuraLinux : public DesktopCursorLoaderUpdater {
15  public:
16   DesktopCursorLoaderUpdaterAuraLinux();
17   ~DesktopCursorLoaderUpdaterAuraLinux() override;
18
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;
23 };
24
25 }  // namespace views
26
27 #endif  // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPLAY_CHANGE_HANDLER_AURALINUX_H_