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

Unified Diff: ui/snapshot/snapshot_android.cc

Issue 100833002: Add AshDesktopMediaList and enable Desktop Capture API on Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « ui/snapshot/snapshot.gyp ('k') | ui/snapshot/snapshot_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot_android.cc
diff --git a/ui/snapshot/snapshot_android.cc b/ui/snapshot/snapshot_android.cc
index f175a87ce743cb9f04d0c2ae7dd0be91da0ecebd..8dd309ad1833b7ba087e2b43379f424e693768d5 100644
--- a/ui/snapshot/snapshot_android.cc
+++ b/ui/snapshot/snapshot_android.cc
@@ -4,6 +4,7 @@
#include "ui/snapshot/snapshot.h"
+#include "base/callback.h"
#include "ui/base/android/view_android.h"
#include "ui/base/android/window_android.h"
#include "ui/gfx/display.h"
@@ -32,4 +33,13 @@ bool GrabWindowSnapshot(gfx::NativeWindow window,
scaled_bounds.height(), png_representation);
}
+SNAPSHOT_EXPORT void GrapWindowSnapshotAsync(
+ gfx::NativeWindow window,
+ const gfx::Rect& snapshot_bounds,
+ const gfx::Size& target_size,
+ scoped_refptr<base::TaskRunner> background_task_runner,
+ GrapWindowSnapshotAsyncCallback callback) {
+ NOTIMPLEMENTED();
+}
+
} // namespace ui
« no previous file with comments | « ui/snapshot/snapshot.gyp ('k') | ui/snapshot/snapshot_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698