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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.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 unified diff | Download patch
OLDNEW
(Empty)
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 display::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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698