summaryrefslogtreecommitdiffstats
path: root/ui/base/cursor/cursor_mac.mm
diff options
context:
space:
mode:
authorccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-07 21:42:02 +0000
committerccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-07 21:42:02 +0000
commit3580aaf313e8fbfbec870e76a10a2461ab3f30c0 (patch)
treecebd7a2fe7a09cefacd6c0680b1e14d2e4ccb74e /ui/base/cursor/cursor_mac.mm
parent60e9143637b518ac1d977c055922321082aaa818 (diff)
downloadchromium_src-3580aaf313e8fbfbec870e76a10a2461ab3f30c0.zip
chromium_src-3580aaf313e8fbfbec870e76a10a2461ab3f30c0.tar.gz
chromium_src-3580aaf313e8fbfbec870e76a10a2461ab3f30c0.tar.bz2
Make aura_demo work on Mac
Fix a few instances where !Windows is assumed to be Linux. Chang many instances of !USE_GTK_MESSAGE_PUMP && !OS_MACOSX && !OS_ANDROID to just USE_AURA (they are equivalent now). Add a very minimal RootWindowHostMac. Of note is that building with Aura requires running "gyp_chromium --no-circular-check" (the circular check is only enabled on Mac, and doesn't work with Aura). Also note that the demo does not work properly unless BGRA support is disabled (in FeatureInfo::InitializeBasicState these extensions can be disabled). BUG=331669 Review URL: https://codereview.chromium.org/110283005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/cursor/cursor_mac.mm')
-rw-r--r--ui/base/cursor/cursor_mac.mm17
1 files changed, 17 insertions, 0 deletions
diff --git a/ui/base/cursor/cursor_mac.mm b/ui/base/cursor/cursor_mac.mm
new file mode 100644
index 0000000..277717d
--- /dev/null
+++ b/ui/base/cursor/cursor_mac.mm
@@ -0,0 +1,17 @@
+// Copyright 2014 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.
+
+#include "ui/base/cursor/cursor.h"
+
+namespace ui {
+
+void Cursor::RefCustomCursor() {
+ // TODO(macguru):
+}
+
+void Cursor::UnrefCustomCursor() {
+ // TODO(macguru):
+}
+
+} // namespace ui