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

Unified Diff: ui/snapshot/snapshot_win.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
Index: ui/snapshot/snapshot_win.cc
diff --git a/ui/snapshot/snapshot_win.cc b/ui/snapshot/snapshot_win.cc
index 8c2ff3bd5bf93e8f003aa356c8f310967bd3cc1e..1d53ff45de5da299c5db1e84efeec0a80dc0eea6 100644
--- a/ui/snapshot/snapshot_win.cc
+++ b/ui/snapshot/snapshot_win.cc
@@ -103,6 +103,7 @@ bool GrabHwndSnapshot(HWND window_handle,
} // namespace internal
#if !defined(USE_AURA)
+
bool GrabViewSnapshot(gfx::NativeView view_handle,
std::vector<unsigned char>* png_representation,
const gfx::Rect& snapshot_bounds) {
@@ -116,6 +117,16 @@ bool GrabWindowSnapshot(gfx::NativeWindow window_handle,
return internal::GrabHwndSnapshot(window_handle, snapshot_bounds,
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();
+}
+
#endif // !defined(USE_AURA)
} // namespace ui
« chrome/browser/ui/views/desktop_media_picker_views.cc ('K') | « ui/snapshot/snapshot_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698