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

Side by Side Diff: chrome/browser/chromeos/login/user_image_loader.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/user_image_loader.h" 5 #include "chrome/browser/chromeos/login/user_image_loader.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/browser_thread.h" 10 #include "chrome/browser/browser_thread.h"
11 #include "gfx/codec/png_codec.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "ui/gfx/codec/png_codec.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 UserImageLoader::UserImageLoader(Delegate* delegate) 16 UserImageLoader::UserImageLoader(Delegate* delegate)
17 : target_message_loop_(NULL), 17 : target_message_loop_(NULL),
18 delegate_(delegate) { 18 delegate_(delegate) {
19 } 19 }
20 20
21 UserImageLoader::~UserImageLoader() { 21 UserImageLoader::~UserImageLoader() {
22 } 22 }
(...skipping 27 matching lines...) Expand all
50 image)); 50 image));
51 } 51 }
52 52
53 void UserImageLoader::NotifyDelegate(const std::string& username, 53 void UserImageLoader::NotifyDelegate(const std::string& username,
54 const SkBitmap& image) { 54 const SkBitmap& image) {
55 if (delegate_) 55 if (delegate_)
56 delegate_->OnImageLoaded(username, image); 56 delegate_->OnImageLoaded(username, image);
57 } 57 }
58 58
59 } // namespace chromeos 59 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_controller.cc ('k') | chrome/browser/chromeos/login/user_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698