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

Side by Side Diff: ui/ozone/platform/dri/dri_surface_factory.h

Issue 262163003: [Ozone] Proper cursor support for multi-monitor configurations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GetActiveWindow -> GetCursorWindow Created 6 years, 7 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
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_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_
6 #define UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_ 6 #define UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 AddGLLibraryCallback add_gl_library, 47 AddGLLibraryCallback add_gl_library,
48 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE; 48 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
49 49
50 virtual bool SchedulePageFlip(gfx::AcceleratedWidget w); 50 virtual bool SchedulePageFlip(gfx::AcceleratedWidget w);
51 51
52 virtual SkCanvas* GetCanvasForWidget(gfx::AcceleratedWidget w); 52 virtual SkCanvas* GetCanvasForWidget(gfx::AcceleratedWidget w);
53 53
54 virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider( 54 virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider(
55 gfx::AcceleratedWidget w); 55 gfx::AcceleratedWidget w);
56 56
57 gfx::Size GetWidgetSize(gfx::AcceleratedWidget w);
58
57 void SetHardwareCursor(gfx::AcceleratedWidget window, 59 void SetHardwareCursor(gfx::AcceleratedWidget window,
58 const SkBitmap& image, 60 const SkBitmap& image,
59 const gfx::Point& location); 61 const gfx::Point& location);
60 62
61 void MoveHardwareCursor(gfx::AcceleratedWidget window, 63 void MoveHardwareCursor(gfx::AcceleratedWidget window,
62 const gfx::Point& location); 64 const gfx::Point& location);
63 65
64 void UnsetHardwareCursor(gfx::AcceleratedWidget window); 66 void UnsetHardwareCursor(gfx::AcceleratedWidget window);
65 67
66 // Called to initialize a new display. The display is then added to 68 // Called to initialize a new display. The display is then added to
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 118
117 SkBitmap cursor_bitmap_; 119 SkBitmap cursor_bitmap_;
118 gfx::Point cursor_location_; 120 gfx::Point cursor_location_;
119 121
120 DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory); 122 DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory);
121 }; 123 };
122 124
123 } // namespace ui 125 } // namespace ui
124 126
125 #endif // UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_ 127 #endif // UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/cursor_factory_evdev_dri.cc ('k') | ui/ozone/platform/dri/dri_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698