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

Unified Diff: chrome/browser/ui/window_snapshot/window_snapshot.h

Issue 11399002: Implemented GetWindowSnapshot on RenderViewImpl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing nits Created 8 years, 1 month 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: chrome/browser/ui/window_snapshot/window_snapshot.h
diff --git a/chrome/browser/ui/window_snapshot/window_snapshot.h b/chrome/browser/ui/window_snapshot/window_snapshot.h
index f4f6f893c65e0dba69f7bf01eaaea9e9f815f3a5..5c1298b8ccf70bfffb579b74cab4eac478dd8652 100644
--- a/chrome/browser/ui/window_snapshot/window_snapshot.h
+++ b/chrome/browser/ui/window_snapshot/window_snapshot.h
@@ -32,18 +32,6 @@ bool GrabWindowSnapshotForUser(
std::vector<unsigned char>* png_representation,
const gfx::Rect& snapshot_bounds);
-namespace internal {
-
-// Like GrabWindowSnapshotForUser, but does not perform additional security
-// checks - just grabs a snapshot. This is intended to be used for debugging
-// purposes where no BrowserProcess instance is available (ie. tests).
-// DO NOT use in a result of user action.
-bool GrabWindowSnapshot(
- gfx::NativeWindow window,
- std::vector<unsigned char>* png_representation,
- const gfx::Rect& snapshot_bounds);
-
-} // namespace internal
} // namespace chrome
#endif // CHROME_BROWSER_UI_WINDOW_SNAPSHOT_WINDOW_SNAPSHOT_H_
« no previous file with comments | « no previous file | chrome/browser/ui/window_snapshot/window_snapshot.cc » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698