summaryrefslogtreecommitdiff
path: root/chromium/ui/base/cursor/cursor_loader_null.cc
blob: 51ced4cde37339c137a760e5421350ae66526540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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.

#include "ui/base/cursor/cursor_loader_null.h"

namespace ui {

CursorLoader* CursorLoader::Create() {
  return new CursorLoaderNull;
}

CursorLoaderNull::CursorLoaderNull() {}
CursorLoaderNull::~CursorLoaderNull() {}
void CursorLoaderNull::LoadImageCursor(int id,
                                        int resource_id,
                                        const gfx::Point& hot) {}
void CursorLoaderNull::LoadAnimatedCursor(int id,
                                           int resource_id,
                                           const gfx::Point& hot,
                                           int frame_delay_ms) {}
void CursorLoaderNull::UnloadAll() {}
void CursorLoaderNull::SetPlatformCursor(gfx::NativeCursor* cursor) {}

}  // namespace ui