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

Unified Diff: content/browser/aura/software_output_device_ozone.h

Issue 57883007: Adding support for VSyncProvider to the software drawing path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unittests Created 7 years, 1 month 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
Index: content/browser/aura/software_output_device_ozone.h
diff --git a/content/browser/aura/software_output_device_ozone.h b/content/browser/aura/software_output_device_ozone.h
index cee91f84e1042044965e28cd35bf87b242d72496..120d0a3383e4eddc88acc202e6c1624b62c42a37 100644
--- a/content/browser/aura/software_output_device_ozone.h
+++ b/content/browser/aura/software_output_device_ozone.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_AURA_SOFTWARE_OUTPUT_DEVICE_OZONE_H_
#include "cc/output/software_output_device.h"
+#include "ui/gfx/native_widget_types.h"
namespace ui {
class Compositor;
@@ -25,9 +26,13 @@ class SoftwareOutputDeviceOzone : public cc::SoftwareOutputDevice {
virtual SkCanvas* BeginPaint(gfx::Rect damage_rect) OVERRIDE;
virtual void EndPaint(cc::SoftwareFrameData* frame_data) OVERRIDE;
+ virtual gfx::VSyncProvider* GetVSyncProvider() OVERRIDE;
+
private:
ui::Compositor* compositor_;
+ gfx::AcceleratedWidget realized_widget_;
piman 2013/11/05 23:32:27 new field needs initialization
+
DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceOzone);
};

Powered by Google App Engine
This is Rietveld 408576698