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

Unified Diff: ui/base/cursor/cursor_loader_ozone.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/clipboard/scoped_clipboard_writer.cc ('k') | ui/base/cursor/cursor_loader_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/cursor_loader_ozone.h
diff --git a/ui/base/cursor/cursor_loader_ozone.h b/ui/base/cursor/cursor_loader_ozone.h
deleted file mode 100644
index 7aef4311380e152a265b2a099b009d4a6a6fb020..0000000000000000000000000000000000000000
--- a/ui/base/cursor/cursor_loader_ozone.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// 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.
-
-#ifndef UI_BASE_CURSOR_CURSOR_LOADER_OZONE_H_
-#define UI_BASE_CURSOR_CURSOR_LOADER_OZONE_H_
-
-#include <map>
-
-#include "ui/base/cursor/cursor.h"
-#include "ui/base/cursor/cursor_loader.h"
-
-namespace ui {
-
-class UI_BASE_EXPORT CursorLoaderOzone : public CursorLoader {
- public:
- CursorLoaderOzone();
- virtual ~CursorLoaderOzone();
-
- // CursorLoader overrides:
- virtual void LoadImageCursor(int id,
- int resource_id,
- const gfx::Point& hot) override;
- virtual void LoadAnimatedCursor(int id,
- int resource_id,
- const gfx::Point& hot,
- int frame_delay_ms) override;
- virtual void UnloadAll() override;
- virtual void SetPlatformCursor(gfx::NativeCursor* cursor) override;
-
- private:
- // Pointers are owned by ResourceBundle and must not be freed here.
- typedef std::map<int, PlatformCursor> ImageCursorMap;
- ImageCursorMap cursors_;
-
- DISALLOW_COPY_AND_ASSIGN(CursorLoaderOzone);
-};
-
-} // namespace ui
-
-#endif // UI_BASE_CURSOR_CURSOR_LOADER_OZONE_H_
« no previous file with comments | « ui/base/clipboard/scoped_clipboard_writer.cc ('k') | ui/base/cursor/cursor_loader_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698