summaryrefslogtreecommitdiffstats
path: root/ui/aura/desktop/desktop_cursor_client.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 17:59:53 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 17:59:53 +0000
commit00e480f9ce8fdd366db92d9839c59f3b5c1624e4 (patch)
tree41e95a60ce12b216b4b05e147ebcda08c948239f /ui/aura/desktop/desktop_cursor_client.h
parentcbe927e5df57bf2a967101e996142029d6318563 (diff)
downloadchromium_src-00e480f9ce8fdd366db92d9839c59f3b5c1624e4.zip
chromium_src-00e480f9ce8fdd366db92d9839c59f3b5c1624e4.tar.gz
chromium_src-00e480f9ce8fdd366db92d9839c59f3b5c1624e4.tar.bz2
Move aura/desktop to views/widget/desktop_aura
http://crbug.com/158115 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/11312194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/desktop/desktop_cursor_client.h')
-rw-r--r--ui/aura/desktop/desktop_cursor_client.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/ui/aura/desktop/desktop_cursor_client.h b/ui/aura/desktop/desktop_cursor_client.h
deleted file mode 100644
index e619106..0000000
--- a/ui/aura/desktop/desktop_cursor_client.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_AURA_DESKTOP_DESKTOP_CURSOR_CLIENT_H_
-#define UI_AURA_DESKTOP_DESKTOP_CURSOR_CLIENT_H_
-
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/aura/client/cursor_client.h"
-#include "ui/views/views_export.h"
-
-namespace ui {
-class CursorLoader;
-}
-
-namespace aura {
-class RootWindow;
-
-// A CursorClient that interacts with only one RootWindow. (Unlike the one in
-// ash, which interacts with all the RootWindows.)
-class VIEWS_EXPORT DesktopCursorClient : public client::CursorClient {
- public:
- explicit DesktopCursorClient(aura::RootWindow* window);
- virtual ~DesktopCursorClient();
-
- // Overridden from client::CursorClient:
- virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
- virtual void ShowCursor(bool show) OVERRIDE;
- virtual bool IsCursorVisible() const OVERRIDE;
- virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE;
- virtual void LockCursor() OVERRIDE;
- virtual void UnlockCursor() OVERRIDE;
-
- private:
- aura::RootWindow* root_window_;
- scoped_ptr<ui::CursorLoader> cursor_loader_;
-
- gfx::NativeCursor current_cursor_;
- bool cursor_visible_;
-
- DISALLOW_COPY_AND_ASSIGN(DesktopCursorClient);
-};
-
-} // namespace aura
-
-#endif // UI_AURA_DESKTOP_DESKTOP_CURSOR_CLIENT_H_