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

Side by Side Diff: chrome/browser/ui/window_snapshot/window_snapshot.h

Issue 6386009: Remove app/win/win_util.h,cc etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code cleanup Created 9 years, 11 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WINDOW_SNAPSHOT_WINDOW_SNAPSHOT_H_
6 #define CHROME_BROWSER_UI_WINDOW_SNAPSHOT_WINDOW_SNAPSHOT_H_
7 #pragma once
8
9 #include <vector>
10
11 #include "gfx/native_widget_types.h"
12
13 namespace browser {
14
15 // Grabs a snapshot of the designated window and stores a PNG representation
16 // into a byte vector.
17 #if defined(OS_MACOSX)
18 void GrabWindowSnapshot(gfx::NativeWindow window,
19 std::vector<unsigned char>* png_representation,
20 int* width,
21 int* height);
22 #else
23 void GrabWindowSnapshot(gfx::NativeWindow window,
24 std::vector<unsigned char>* png_representation);
25 #endif
26
27 } // namespace browser
28
29 #endif // CHROME_BROWSER_UI_WINDOW_SNAPSHOT_WINDOW_SNAPSHOT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698