Chromium Code Reviews| 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 cb681db739eb1cb3940ae43f8349fb3b135cf2ff..109016c083cd044487f62913f6b9e9821a9666bd 100644 |
| --- a/chrome/browser/ui/window_snapshot/window_snapshot.h |
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot.h |
| @@ -8,6 +8,7 @@ |
| #include <vector> |
| #include "ui/gfx/native_widget_types.h" |
| +#include "ui/snapshot/snapshot.h" |
|
Jun Mukai
2014/01/09 19:41:24
nit: you don't have to include this now
enne (OOO)
2014/01/09 19:50:02
Done.
|
| class PrefRegistrySimple; |
| @@ -27,10 +28,9 @@ void RegisterScreenshotPrefs(PrefRegistrySimple* registry); |
| // by browser code. If you need to take a screenshot for debugging purposes, |
| // consider using ui::GrabWindowSnapshot. |
| // Returns true if the operation is successful (ie. permitted). |
| -bool GrabWindowSnapshotForUser( |
| - gfx::NativeWindow window, |
| - std::vector<unsigned char>* png_representation, |
| - const gfx::Rect& snapshot_bounds); |
| +bool GrabWindowSnapshotForUser(gfx::NativeWindow window, |
| + std::vector<unsigned char>* png_representation, |
| + const gfx::Rect& snapshot_bounds); |
| } // namespace chrome |