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

Side by Side Diff: webkit/glue/image_resource_fetcher.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
« no previous file with comments | « webkit/glue/image_decoder.h ('k') | webkit/glue/media/video_renderer_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "webkit/glue/image_resource_fetcher.h" 5 #include "webkit/glue/image_resource_fetcher.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "gfx/size.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
9 #include "ui/gfx/size.h"
10 #include "webkit/glue/image_decoder.h" 10 #include "webkit/glue/image_decoder.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 12
13 using WebKit::WebFrame; 13 using WebKit::WebFrame;
14 14
15 namespace webkit_glue { 15 namespace webkit_glue {
16 16
17 ImageResourceFetcher::ImageResourceFetcher( 17 ImageResourceFetcher::ImageResourceFetcher(
18 const GURL& image_url, 18 const GURL& image_url,
19 WebFrame* frame, 19 WebFrame* frame,
(...skipping 29 matching lines...) Expand all
49 // that an error occurred. 49 // that an error occurred.
50 50
51 // Take care to clear callback_ before running the callback as it may lead to 51 // Take care to clear callback_ before running the callback as it may lead to
52 // our destruction. 52 // our destruction.
53 scoped_ptr<Callback> callback; 53 scoped_ptr<Callback> callback;
54 callback.swap(callback_); 54 callback.swap(callback_);
55 callback->Run(this, bitmap); 55 callback->Run(this, bitmap);
56 } 56 }
57 57
58 } // namespace webkit_glue 58 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/image_decoder.h ('k') | webkit/glue/media/video_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698