From 44013f6828207c9b179f29cd8bb1559d6e81c28c Mon Sep 17 00:00:00 2001 From: "ygorshenin@chromium.org" Date: Thu, 31 May 2012 13:49:40 +0000 Subject: Added support for animated/nonanimated user image. There are no optimizations (for instance, image is still decoded to PNG at each request) and bug with replaying animation at each click on already active user pod, but CL is big enough, so we should start review. BUG=114083 TEST=none Review URL: https://chromiumcodereview.appspot.com/10454044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139779 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/image_decoder.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chrome/browser/image_decoder.h') diff --git a/chrome/browser/image_decoder.h b/chrome/browser/image_decoder.h index 8c9c028..148454b 100644 --- a/chrome/browser/image_decoder.h +++ b/chrome/browser/image_decoder.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// 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. @@ -40,6 +40,10 @@ class ImageDecoder : public content::UtilityProcessHostClient { // Starts image decoding. void Start(); + const std::vector& get_image_data() const { + return image_data_; + } + private: // It's a reference counted object, so destructor is private. virtual ~ImageDecoder(); -- cgit v1.1