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

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

Issue 102563005: [Ozone] Rename GetVSyncProvider to CreateVSyncProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_GFX_OZONE_DRI_DRI_SURFACE_FACTORY_H_ 5 #ifndef UI_GFX_OZONE_DRI_DRI_SURFACE_FACTORY_H_
6 #define UI_GFX_OZONE_DRI_DRI_SURFACE_FACTORY_H_ 6 #define UI_GFX_OZONE_DRI_DRI_SURFACE_FACTORY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/gfx/ozone/surface_factory_ozone.h" 9 #include "ui/gfx/ozone/surface_factory_ozone.h"
10 10
(...skipping 23 matching lines...) Expand all
34 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE; 34 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
35 35
36 virtual bool AttemptToResizeAcceleratedWidget( 36 virtual bool AttemptToResizeAcceleratedWidget(
37 gfx::AcceleratedWidget w, 37 gfx::AcceleratedWidget w,
38 const gfx::Rect& bounds) OVERRIDE; 38 const gfx::Rect& bounds) OVERRIDE;
39 39
40 virtual bool SchedulePageFlip(gfx::AcceleratedWidget w) OVERRIDE; 40 virtual bool SchedulePageFlip(gfx::AcceleratedWidget w) OVERRIDE;
41 41
42 virtual SkCanvas* GetCanvasForWidget(gfx::AcceleratedWidget w) OVERRIDE; 42 virtual SkCanvas* GetCanvasForWidget(gfx::AcceleratedWidget w) OVERRIDE;
43 43
44 virtual gfx::VSyncProvider* GetVSyncProvider( 44 virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider(
45 gfx::AcceleratedWidget w) OVERRIDE; 45 gfx::AcceleratedWidget w) OVERRIDE;
46 46
47 private: 47 private:
48 virtual DriSurface* CreateSurface( 48 virtual DriSurface* CreateSurface(
49 HardwareDisplayController* controller); 49 HardwareDisplayController* controller);
50 50
51 virtual DriWrapper* CreateWrapper(); 51 virtual DriWrapper* CreateWrapper();
52 52
53 virtual bool InitializeControllerForPrimaryDisplay( 53 virtual bool InitializeControllerForPrimaryDisplay(
54 DriWrapper* drm, 54 DriWrapper* drm,
(...skipping 11 matching lines...) Expand all
66 66
67 // Active output. 67 // Active output.
68 scoped_ptr<HardwareDisplayController> controller_; 68 scoped_ptr<HardwareDisplayController> controller_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory); 70 DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory);
71 }; 71 };
72 72
73 } // namespace gfx 73 } // namespace gfx
74 74
75 #endif // UI_GFX_OZONE_DRI_DRI_SURFACE_FACTORY_H_ 75 #endif // UI_GFX_OZONE_DRI_DRI_SURFACE_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/aura/software_output_device_ozone.cc ('k') | ui/gfx/ozone/dri/dri_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698