1 // Copyright (c) 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_AURAX11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_AURAX11_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 DesktopCursorLoaderUpdaterAuraX11 : public DesktopCursorLoaderUpdater { 15 public: 16 DesktopCursorLoaderUpdaterAuraX11(); 17 virtual ~DesktopCursorLoaderUpdaterAuraX11(); 18 19 // Overridden from DesktopCursorLoaderUpdater: 20 virtual void OnCreate(aura::RootWindow* window, 21 ui::CursorLoader* loader) OVERRIDE; 22 virtual void OnDisplayUpdated(const gfx::Display& display, 23 ui::CursorLoader* loader) OVERRIDE; 24 }; 25 26 } // namespace views 27 28 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPLAY_CHANGE_HANDLER_AURAX11_H_ 29