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

Side by Side Diff: ui/base/cursor/cursor_loader_null.cc

Issue 158023006: Adding Ozone CursorLoader and necessary API functions to allow setting the cursor in SoftwareFactor… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix style Created 6 years, 10 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/base/cursor/cursor_loader_null.h ('k') | ui/base/cursor/cursor_loader_ozone.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/base/cursor/cursor_loader_null.h"
6
7 namespace ui {
8
9 CursorLoader* CursorLoader::Create() {
10 return new CursorLoaderNull;
11 }
12
13 CursorLoaderNull::CursorLoaderNull() {}
14 CursorLoaderNull::~CursorLoaderNull() {}
15 void CursorLoaderNull::LoadImageCursor(int id,
16 int resource_id,
17 const gfx::Point& hot) {}
18 void CursorLoaderNull::LoadAnimatedCursor(int id,
19 int resource_id,
20 const gfx::Point& hot,
21 int frame_delay_ms) {}
22 void CursorLoaderNull::UnloadAll() {}
23 void CursorLoaderNull::SetPlatformCursor(gfx::NativeCursor* cursor) {}
24
25 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/cursor/cursor_loader_null.h ('k') | ui/base/cursor/cursor_loader_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698