| Index: chrome/browser/gtk/options/general_page_gtk.h
|
| diff --git a/chrome/browser/gtk/options/general_page_gtk.h b/chrome/browser/gtk/options/general_page_gtk.h
|
| index f9c48d748e768100b70634fff18faa8260dc3047..c1f6d814860fb27a7db6f0b87f60e58ad622bda6 100644
|
| --- a/chrome/browser/gtk/options/general_page_gtk.h
|
| +++ b/chrome/browser/gtk/options/general_page_gtk.h
|
| @@ -10,13 +10,14 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| -#include "chrome/browser/history/history.h"
|
| +#include "chrome/browser/cancelable_request.h"
|
| #include "chrome/browser/options_page_base.h"
|
| #include "chrome/browser/search_engines/template_url_model.h"
|
| #include "chrome/common/pref_member.h"
|
| #include "googleurl/src/gurl.h"
|
|
|
| class Profile;
|
| +class ListStoreFavIconLoader;
|
|
|
| class GeneralPageGtk : public OptionsPageBase,
|
| public TemplateURLModelObserver {
|
| @@ -48,16 +49,6 @@ class GeneralPageGtk : public OptionsPageBase,
|
| // Fill a single row in the startup_custom_pages_model_
|
| void PopulateCustomUrlRow(const GURL& url, GtkTreeIter *iter);
|
|
|
| - // Find a row from the GetFavIconForURL handle. Returns true if the row was
|
| - // found.
|
| - bool GetRowByFavIconHandle(HistoryService::Handle handle,
|
| - GtkTreeIter* result_iter);
|
| -
|
| - // Callback from HistoryService:::GetFavIconForURL
|
| - void OnGotFavIcon(HistoryService::Handle handle, bool know_fav_icon,
|
| - scoped_refptr<RefCountedBytes> image_data, bool is_expired,
|
| - GURL icon_url);
|
| -
|
| // Set the custom url list using the pages currently open
|
| void SetCustomUrlListFromCurrentPages();
|
|
|
| @@ -181,9 +172,8 @@ class GeneralPageGtk : public OptionsPageBase,
|
| // Used in loading favicons.
|
| CancelableRequestConsumer fav_icon_consumer_;
|
|
|
| - // Default icon to show when one can't be found for the URL. This is owned by
|
| - // the ResourceBundle and we do not need to free it.
|
| - GdkPixbuf* default_favicon_;
|
| + // Helper to load the favicon pixbufs into the |startup_custom_pages_model_|.
|
| + scoped_ptr<ListStoreFavIconLoader> favicon_loader_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GeneralPageGtk);
|
| };
|
|
|