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

Unified Diff: ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.h

Issue 2669173002: Use IOSImageDataFetcherWrapper (Closed)
Patch Set: Rebase Created 3 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.h
diff --git a/ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.h b/ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.h
index f936e900a5c482cad8cf693951cadc0f1fe023d8..24b6c18c96c57df6175775bb90c28c1a74d8120c 100644
--- a/ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.h
+++ b/ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.h
@@ -9,8 +9,8 @@
#include "components/omnibox/browser/autocomplete_result.h"
-namespace web {
-class ImageDataFetcher;
+namespace image_fetcher {
+class IOSImageDataFetcherWrapper;
}
class OmniboxPopupViewIOS;
@@ -23,9 +23,10 @@ class OmniboxPopupViewIOS;
// Designated initializer. Creates a table view with UITableViewStylePlain.
// Takes ownership of |imageFetcher|.
-- (instancetype)initWithPopupView:(OmniboxPopupViewIOS*)view
- withFetcher:
- (std::unique_ptr<web::ImageDataFetcher>)imageFetcher;
+- (instancetype)
+initWithPopupView:(OmniboxPopupViewIOS*)view
+ withFetcher:(std::unique_ptr<image_fetcher::IOSImageDataFetcherWrapper>)
+ imageFetcher;
// Updates the current data and forces a redraw. If animation is YES, adds
// CALayer animations to fade the OmniboxPopupMaterialRows in.
« no previous file with comments | « ios/chrome/browser/ui/omnibox/BUILD.gn ('k') | ios/chrome/browser/ui/omnibox/omnibox_popup_material_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698