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

Side by Side Diff: chrome/browser/icon_loader.h

Issue 199105: Continue with the FreeBSD port - this version builds and links, though... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_ICON_LOADER_H_ 5 #ifndef CHROME_BROWSER_ICON_LOADER_H_
6 #define CHROME_BROWSER_ICON_LOADER_H_ 6 #define CHROME_BROWSER_ICON_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 MessageLoop* target_message_loop_; 61 MessageLoop* target_message_loop_;
62 62
63 IconGroupID group_; 63 IconGroupID group_;
64 64
65 IconSize icon_size_; 65 IconSize icon_size_;
66 66
67 SkBitmap* bitmap_; 67 SkBitmap* bitmap_;
68 68
69 Delegate* delegate_; 69 Delegate* delegate_;
70 70
71 #if defined(OS_LINUX) 71 #if defined(USE_X11)
72 // On Linux we use gdk's pixbuf loader, which has to execute on the UI 72 // On X/11 systems we use gdk's pixbuf loader, which has to execute on the UI
73 // thread, so we only read the file on the background thread and parse it 73 // thread, so we only read the file on the background thread and parse it
74 // on the main thread. 74 // on the main thread.
75 void ParseIcon(); 75 void ParseIcon();
76 FilePath filename_; 76 FilePath filename_;
77 std::string icon_data_; 77 std::string icon_data_;
78 #endif 78 #endif
79 79
80 DISALLOW_COPY_AND_ASSIGN(IconLoader); 80 DISALLOW_COPY_AND_ASSIGN(IconLoader);
81 }; 81 };
82 82
83 #endif // CHROME_BROWSER_ICON_LOADER_H_ 83 #endif // CHROME_BROWSER_ICON_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/gtk_theme_provider.cc ('k') | chrome/browser/importer/firefox_profile_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698