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

Side by Side Diff: ui/ozone/public/cursor_factory_ozone.h

Issue 2961403002: WIP fix for Ozone cursor woes in Mushrome: Numéro deux
Patch Set: Created 3 years, 5 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
« no previous file with comments | « ui/base/cursor/image_cursors.cc ('k') | ui/ozone/public/cursor_factory_ozone.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_ 5 #ifndef UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_
6 #define UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_ 6 #define UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const std::vector<SkBitmap>& bitmaps, 46 const std::vector<SkBitmap>& bitmaps,
47 const gfx::Point& hotspot, 47 const gfx::Point& hotspot,
48 int frame_delay_ms, 48 int frame_delay_ms,
49 float bitmap_dpi); 49 float bitmap_dpi);
50 50
51 // Increment platform image cursor refcount. 51 // Increment platform image cursor refcount.
52 virtual void RefImageCursor(PlatformCursor cursor); 52 virtual void RefImageCursor(PlatformCursor cursor);
53 53
54 // Decrement platform image cursor refcount. 54 // Decrement platform image cursor refcount.
55 virtual void UnrefImageCursor(PlatformCursor cursor); 55 virtual void UnrefImageCursor(PlatformCursor cursor);
56
57 private:
58 static CursorFactoryOzone* impl_; // not owned
59 }; 56 };
60 57
61 } // namespace ui 58 } // namespace ui
62 59
63 #endif // UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_ 60 #endif // UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_
OLDNEW
« no previous file with comments | « ui/base/cursor/image_cursors.cc ('k') | ui/ozone/public/cursor_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698