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

Unified Diff: core/win/d3d9/renderer_d3d9.h

Issue 164130: This CL adds client.toDataURL which gets the contents... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/cross/renderer.h ('k') | core/win/d3d9/renderer_d3d9.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/win/d3d9/renderer_d3d9.h
===================================================================
--- core/win/d3d9/renderer_d3d9.h (revision 22687)
+++ core/win/d3d9/renderer_d3d9.h (working copy)
@@ -156,9 +156,8 @@
int width,
int height);
- // Saves a png screenshot 'file_name.png'.
- // Returns true on success and false on failure.
- virtual bool SaveScreen(const String& file_name);
+ // Overridden from Renderer.
+ virtual Bitmap::Ref TakeScreenshot();
inline LPDIRECT3DDEVICE9 d3d_device() const { return d3d_device_; }
inline LPDIRECT3D9 d3d() const { return d3d_; }
« no previous file with comments | « core/cross/renderer.h ('k') | core/win/d3d9/renderer_d3d9.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698