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

Unified Diff: chrome/browser/icon_loader_linux.cc

Issue 192883004: linux_aura: run IconLoader::ReadIcon on the UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « chrome/browser/icon_loader_chromeos.cc ('k') | chrome/browser/icon_loader_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/icon_loader_linux.cc
diff --git a/chrome/browser/icon_loader_linux.cc b/chrome/browser/icon_loader_linux.cc
index 2ee16ead8ddc2567f66433a6f09dd54959dc720f..1abf7d5104999c0565f989cbd0d3258f072f3ce9 100644
--- a/chrome/browser/icon_loader_linux.cc
+++ b/chrome/browser/icon_loader_linux.cc
@@ -24,10 +24,16 @@ IconGroupID IconLoader::ReadGroupIDFromFilepath(
return base::nix::GetFileMimeType(filepath);
}
+// static
bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) {
return false;
}
+// static
+content::BrowserThread::ID IconLoader::ReadIconThreadID() {
+ return content::BrowserThread::FILE;
Nico 2014/03/11 16:26:19 Isn't icon_loader_linux gtk too? Why would linux/a
davidben 2014/03/11 16:37:13 It's a little bizarre since linux/aura is more nat
+}
+
void IconLoader::ReadIcon() {
int size_pixels = 0;
switch (icon_size_) {
« no previous file with comments | « chrome/browser/icon_loader_chromeos.cc ('k') | chrome/browser/icon_loader_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698