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

Side by Side Diff: ui/aura/desktop/desktop_cursor_client.cc

Issue 10692170: Aura desktop: Show resize cursors again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura/desktop/desktop_cursor_client.h ('k') | ui/aura/env.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 #include "ui/aura/desktop/desktop_cursor_client.h"
6
7 #include "ui/aura/root_window.h"
8
9 namespace aura {
10
11 DesktopCursorClient::DesktopCursorClient(aura::RootWindow* window)
12 : root_window_(window) {
13 }
14
15 DesktopCursorClient::~DesktopCursorClient() {
16 }
17
18 void DesktopCursorClient::SetCursor(gfx::NativeCursor cursor) {
19 root_window_->SetCursor(cursor);
20 }
21
22 void DesktopCursorClient::ShowCursor(bool show) {
23 root_window_->ShowCursor(show);
24 }
25
26 bool DesktopCursorClient::IsCursorVisible() const {
27 return root_window_->cursor_shown();
28 }
29
30 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/desktop/desktop_cursor_client.h ('k') | ui/aura/env.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698