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

Unified Diff: ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h

Issue 31043006: Moves creation of various clients to DesktopNativeWidgetAura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 7 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
diff --git a/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h b/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
index c31214200edbe7aecd640f1cc4a73275e398302a..599b625b26fa8fccf9c98b5f3006f462c2cdd535 100644
--- a/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
+++ b/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
@@ -5,6 +5,9 @@
#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_
+#include "base/memory/scoped_ptr.h"
+#include "ui/views/views_export.h"
+
namespace aura {
class RootWindow;
}
@@ -21,10 +24,14 @@ namespace views {
// An interface to optionally update the state of a cursor loader. Only used on
// desktop AuraX11.
-class DesktopCursorLoaderUpdater {
+class VIEWS_EXPORT DesktopCursorLoaderUpdater {
public:
virtual ~DesktopCursorLoaderUpdater() {}
+ // Creates a new DesktopCursorLoaderUpdater, or NULL if the platform doesn't
+ // support one.
+ static scoped_ptr<DesktopCursorLoaderUpdater> Create();
+
// Called when a CursorLoader is created.
virtual void OnCreate(aura::RootWindow* window,
ui::CursorLoader* loader) = 0;
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698