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

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

Issue 543643003: ozone: Plumb animated cursors from BitmapCursorFactoryOzone to DriSurfaceFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dri_surface_factory_unittest Created 6 years, 3 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
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_GPU_PLATFORM_SUPPORT_GBM_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_
6 #define UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_ 6 #define UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 28 matching lines...) Expand all
39 39
40 // IPC::Listener: 40 // IPC::Listener:
41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
42 42
43 private: 43 private:
44 void OnCreateWindowDelegate(gfx::AcceleratedWidget widget); 44 void OnCreateWindowDelegate(gfx::AcceleratedWidget widget);
45 void OnDestroyWindowDelegate(gfx::AcceleratedWidget widget); 45 void OnDestroyWindowDelegate(gfx::AcceleratedWidget widget);
46 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget, 46 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget,
47 const gfx::Rect& bounds); 47 const gfx::Rect& bounds);
48 void OnCursorSet(gfx::AcceleratedWidget widget, 48 void OnCursorSet(gfx::AcceleratedWidget widget,
49 const SkBitmap& bitmap, 49 const std::vector<SkBitmap>& bitmaps,
50 const gfx::Point& location); 50 const gfx::Point& location,
51 int frame_delay_ms);
51 void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location); 52 void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location);
52 53
53 IPC::Sender* sender_; 54 IPC::Sender* sender_;
54 DriSurfaceFactory* dri_; 55 DriSurfaceFactory* dri_;
55 DriWindowManager* window_manager_; 56 DriWindowManager* window_manager_;
56 ScreenManager* screen_manager_; 57 ScreenManager* screen_manager_;
57 ScopedVector<GpuPlatformSupport> handlers_; 58 ScopedVector<GpuPlatformSupport> handlers_;
58 }; 59 };
59 60
60 } // namespace ui 61 } // namespace ui
61 62
62 #endif // UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_ 63 #endif // UI_OZONE_PLATFORM_DRI_GPU_PLATFORM_SUPPORT_GBM_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/dri_surface_factory_unittest.cc ('k') | ui/ozone/platform/dri/gpu_platform_support_gbm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698