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

Side by Side Diff: chrome/browser/ui/webui/ntp/android/bookmarks_handler.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, 3 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_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" 9 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h"
10 #include "chrome/browser/cancelable_request.h" 10 #include "chrome/browser/cancelable_request.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 // Sends bookmark bar's bookmarks and sub folders and other folders back to 124 // Sends bookmark bar's bookmarks and sub folders and other folders back to
125 // NTP. 125 // NTP.
126 void QueryInitialBookmarks(); 126 void QueryInitialBookmarks();
127 127
128 // Sends the result back to Javascript 128 // Sends the result back to Javascript
129 void SendResult(const DictionaryValue& result); 129 void SendResult(const DictionaryValue& result);
130 130
131 // Called once the favicon is loaded during creation of the bookmark shortcuts 131 // Called once the favicon is loaded during creation of the bookmark shortcuts
132 // and is available for use. 132 // and is available for use.
133 void OnShortcutFaviconDataAvailable(FaviconService::Handle handle, 133 void OnShortcutFaviconDataAvailable(
134 history::FaviconData favicon); 134 FaviconService::Handle handle,
135 const history::FaviconBitmapResult& bitmap_result);
135 136
136 DISALLOW_COPY_AND_ASSIGN(BookmarksHandler); 137 DISALLOW_COPY_AND_ASSIGN(BookmarksHandler);
137 }; 138 };
138 139
139 #endif // CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_ 140 #endif // CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_BOOKMARKS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698