From 00e480f9ce8fdd366db92d9839c59f3b5c1624e4 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Tue, 13 Nov 2012 17:59:53 +0000 Subject: 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 --- ui/aura/desktop/desktop_cursor_client.h | 47 --------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 ui/aura/desktop/desktop_cursor_client.h (limited to 'ui/aura/desktop/desktop_cursor_client.h') 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 cursor_loader_; - - gfx::NativeCursor current_cursor_; - bool cursor_visible_; - - DISALLOW_COPY_AND_ASSIGN(DesktopCursorClient); -}; - -} // namespace aura - -#endif // UI_AURA_DESKTOP_DESKTOP_CURSOR_CLIENT_H_ -- cgit v1.1