Index: ui/aura/root_window.h |
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h |
index 708fa6cefbfee9b5889dec3e30397806b0f97e5f..50bec16ae828fdba130e516359ba0aca99248c6c 100644 |
--- a/ui/aura/root_window.h |
+++ b/ui/aura/root_window.h |
@@ -6,6 +6,8 @@ |
#define UI_AURA_ROOT_WINDOW_H_ |
#pragma once |
+#include <vector> |
+ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
@@ -248,6 +250,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, |
// Sets if the window should be focused when shown. |
void SetFocusWhenShown(bool focus_when_shown); |
+ bool GrabWindowSnapshot(std::vector<unsigned char>* png_representation, |
Daniel Erat
2012/05/14 23:17:40
nit: Add a comment describing what this does.
Sho
Jun Mukai
2012/05/15 22:39:24
Done.
|
+ const gfx::Rect& snapshot_bounds); |
+ |
// Overridden from Window: |
virtual RootWindow* GetRootWindow() OVERRIDE; |
virtual const RootWindow* GetRootWindow() const OVERRIDE; |