| Index: content/browser/window_util_aura.cc
|
| diff --git a/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc b/content/browser/window_util_aura.cc
|
| similarity index 85%
|
| rename from chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
|
| rename to content/browser/window_util_aura.cc
|
| index f7164c7da358d59464a83327398026dde91006bc..a4b65fd527a64dca4b267987330124c7090ff37c 100644
|
| --- a/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
|
| +++ b/content/browser/window_util_aura.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/ui/window_snapshot/window_snapshot.h"
|
| +#include "content/public/browser/window_util.h"
|
|
|
| #include "base/logging.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| @@ -13,8 +13,13 @@
|
| #include "ui/gfx/codec/png_codec.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| -namespace chrome {
|
| -namespace internal {
|
| +namespace content {
|
| +
|
| +bool GrabViewSnapshot(gfx::NativeView view,
|
| + std::vector<unsigned char>* png_representation,
|
| + const gfx::Rect& snapshot_bounds) {
|
| + return GrabWindowSnapshot(view, png_representation, snapshot_bounds);
|
| +}
|
|
|
| bool GrabWindowSnapshot(gfx::NativeWindow window,
|
| std::vector<unsigned char>* png_representation,
|
|
|