| Index: ui/snapshot/snapshot_android.cc
|
| diff --git a/ui/snapshot/snapshot_android.cc b/ui/snapshot/snapshot_android.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4e89c9da1cabc8493f1148e72a1486ca2a665e73
|
| --- /dev/null
|
| +++ b/ui/snapshot/snapshot_android.cc
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/snapshot/snapshot.h"
|
| +
|
| +#include "ui/gfx/rect.h"
|
| +
|
| +namespace ui {
|
| +
|
| +bool GrabViewSnapshot(gfx::NativeView view,
|
| + std::vector<unsigned char>* png_representation,
|
| + const gfx::Rect& snapshot_bounds) {
|
| + // TODO(bajones): Implement Android snapshot functionality
|
| + return false;
|
| +}
|
| +
|
| +bool GrabWindowSnapshot(gfx::NativeWindow window,
|
| + std::vector<unsigned char>* png_representation,
|
| + const gfx::Rect& snapshot_bounds) {
|
| + // TODO(bajones): Implement Android snapshot functionality
|
| + return false;
|
| +}
|
| +
|
| +} // namespace ui
|
|
|