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

Side by Side Diff: chrome/browser/ui/intents/web_intent_picker_controller.h

Issue 10870022: Change FaviconData to be able to return data for multiple bitmaps for same icon URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 // Called when WebIntentServiceData is ready for checking extensions 160 // Called when WebIntentServiceData is ready for checking extensions
161 // when dispatching explicit intents. Gets |services| 161 // when dispatching explicit intents. Gets |services|
162 // from the WebIntentsRegistry to check for known urls/extensions and find 162 // from the WebIntentsRegistry to check for known urls/extensions and find
163 // disposition data. 163 // disposition data.
164 void WebIntentServicesForExplicitIntent( 164 void WebIntentServicesForExplicitIntent(
165 const std::vector<webkit_glue::WebIntentServiceData>& services); 165 const std::vector<webkit_glue::WebIntentServiceData>& services);
166 166
167 // Called when FaviconData is returned from the FaviconService. 167 // Called when FaviconData is returned from the FaviconService.
168 void OnFaviconDataAvailable(FaviconService::Handle handle, 168 void OnFaviconDataAvailable(FaviconService::Handle handle,
169 history::FaviconData favicon_data); 169 history::FaviconData favicon_data,
170 std::vector<GURL> icon_urls_in_db);
170 171
171 // Called when IntentExtensionInfo is returned from the CWSIntentsRegistry. 172 // Called when IntentExtensionInfo is returned from the CWSIntentsRegistry.
172 void OnCWSIntentServicesAvailable( 173 void OnCWSIntentServicesAvailable(
173 const CWSIntentsRegistry::IntentExtensionList& extensions); 174 const CWSIntentsRegistry::IntentExtensionList& extensions);
174 175
175 // Called when a suggested extension's icon is fetched. 176 // Called when a suggested extension's icon is fetched.
176 void OnExtensionIconURLFetchComplete(const string16& extension_id, 177 void OnExtensionIconURLFetchComplete(const string16& extension_id,
177 const net::URLFetcher* source); 178 const net::URLFetcher* source);
178 179
179 // Called whenever intent data (both from registry and CWS) arrives. 180 // Called whenever intent data (both from registry and CWS) arrives.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 267
267 base::WeakPtrFactory<WebIntentPickerController> weak_ptr_factory_; 268 base::WeakPtrFactory<WebIntentPickerController> weak_ptr_factory_;
268 269
269 // Timer factory for minimum display time of "waiting" dialog. 270 // Timer factory for minimum display time of "waiting" dialog.
270 base::WeakPtrFactory<WebIntentPickerController> timer_factory_; 271 base::WeakPtrFactory<WebIntentPickerController> timer_factory_;
271 272
272 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); 273 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController);
273 }; 274 };
274 275
275 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ 276 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698