summaryrefslogtreecommitdiffstats
path: root/gfx/skbitmap_operations.h
diff options
context:
space:
mode:
authorgspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 17:26:49 +0000
committergspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 17:26:49 +0000
commitd65adb173f09a837c96f96fc24a258f439e46e58 (patch)
tree43605ab367e97389930c518c4e94bd3da5f20080 /gfx/skbitmap_operations.h
parent7cea56d943924d0c2196bdf4049f592b6182992c (diff)
downloadchromium_src-d65adb173f09a837c96f96fc24a258f439e46e58.zip
chromium_src-d65adb173f09a837c96f96fc24a258f439e46e58.tar.gz
chromium_src-d65adb173f09a837c96f96fc24a258f439e46e58.tar.bz2
This adds in the ability for Chrome to generate windows with snapshots
of all currently open tabs in all browsers. This is needed for overview mode on ChromeOS. BUG=http://code.google.com/p/chromium-os/issues/detail?id=1170 TEST=Ran Chrome under ChromeOS with updated window manager. Review URL: http://codereview.chromium.org/661237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/skbitmap_operations.h')
-rw-r--r--gfx/skbitmap_operations.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gfx/skbitmap_operations.h b/gfx/skbitmap_operations.h
index 71f6473..ec55e55 100644
--- a/gfx/skbitmap_operations.h
+++ b/gfx/skbitmap_operations.h
@@ -78,16 +78,14 @@ class SkBitmapOperations {
static SkBitmap DownsampleByTwoUntilSize(const SkBitmap& bitmap,
int min_w, int min_h);
- private:
- SkBitmapOperations(); // Class for scoping only.
-
// Makes a bitmap half has large in each direction by averaging groups of
// 4 pixels. This is one step in generating a mipmap.
static SkBitmap DownsampleByTwo(const SkBitmap& bitmap);
+ private:
+ SkBitmapOperations(); // Class for scoping only.
FRIEND_TEST(SkBitmapOperationsTest, DownsampleByTwo);
FRIEND_TEST(SkBitmapOperationsTest, DownsampleByTwoSmall);
};
#endif // APP_GFX_SKBITMAP_OPERATIONS_H_
-