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

Unified Diff: core/cross/client.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/bitmap_png.cc ('k') | core/cross/client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/client.h
===================================================================
--- core/cross/client.h (revision 22687)
+++ core/cross/client.h (working copy)
@@ -395,9 +395,8 @@
// Dumps all profiler state to a string.
String ProfileToString();
- // Saves a png screenshot of the display buffer.
- // Returns true on success and false on failure.
- bool SaveScreen(const String& file_name);
+ // Reutrns a data: URL of the client area in png format.
+ String ToDataURL();
// This class is intended to be used on the stack, such that the variable gets
// incremented on scope entry and decremented on scope exit. It's currently
« no previous file with comments | « core/cross/bitmap_png.cc ('k') | core/cross/client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698