diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-14 08:25:49 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-14 08:25:49 +0000 |
commit | f8c700bae560d44b15abd73926e3d589433f1d27 (patch) | |
tree | 03073d4543a484db7752dad6c3011fc56a5646af /content/renderer/render_view_impl.h | |
parent | ddfbd8f071364bdcfb40fc517a7fa1e82893a5e8 (diff) | |
download | chromium_src-f8c700bae560d44b15abd73926e3d589433f1d27.zip chromium_src-f8c700bae560d44b15abd73926e3d589433f1d27.tar.gz chromium_src-f8c700bae560d44b15abd73926e3d589433f1d27.tar.bz2 |
Move resource fetchers to renderer-specific location
ResourceFetcher is a helper class for using the WebKit API to grab simple resources, like favicons. This code is only used in content/renderer/ and so doesn't need to be in glue.
BUG=237267
Review URL: https://chromiumcodereview.appspot.com/14649022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_view_impl.h')
-rw-r--r-- | content/renderer/render_view_impl.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h index 466f293..7d7e8f3 100644 --- a/content/renderer/render_view_impl.h +++ b/content/renderer/render_view_impl.h @@ -90,11 +90,6 @@ class PluginInstance; } // namespace webkit -namespace webkit_glue { -class ImageResourceFetcher; -class ResourceFetcher; -} - #if defined(OS_ANDROID) namespace webkit_media { class WebMediaPlayerManagerAndroid; @@ -150,6 +145,7 @@ class DomAutomationController; class ExternalPopupMenu; class FaviconHelper; class GeolocationDispatcher; +class ImageResourceFetcher; class InputTagSpeechDispatcher; class JavaBridgeDispatcher; class LoadProgressTracker; @@ -758,7 +754,7 @@ class CONTENT_EXPORT RenderViewImpl // Cannot use std::set unfortunately since linked_ptr<> does not support // operator<. - typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > + typedef std::vector<linked_ptr<ImageResourceFetcher> > ImageResourceFetcherList; protected: @@ -1085,7 +1081,7 @@ class CONTENT_EXPORT RenderViewImpl // This callback is triggered when DownloadFavicon completes, either // succesfully or with a failure. See DownloadFavicon for more // details. - void DidDownloadFavicon(webkit_glue::ImageResourceFetcher* fetcher, + void DidDownloadFavicon(ImageResourceFetcher* fetcher, const SkBitmap& image); // Requests to download a favicon image. When done, the RenderView is notified |