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

Unified Diff: core/cross/renderer.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
Index: core/cross/renderer.h
===================================================================
--- core/cross/renderer.h (revision 22687)
+++ core/cross/renderer.h (working copy)
@@ -364,9 +364,8 @@
int width,
int height) = 0;
- // Saves a png screenshot.
- // Returns true on success and false on failure.
- virtual bool SaveScreen(const String& file_name) = 0;
+ // Returns the screen as a data URL.
+ virtual String ToDataURL() = 0;
ServiceLocator* service_locator() const { return service_locator_; }

Powered by Google App Engine
This is Rietveld 408576698