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

Side by Side Diff: chrome/common/resource_bundle.h

Issue 67024: Adds some ifdefs so that test_shell can be compiled on linux... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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
« no previous file with comments | « chrome/common/native_web_keyboard_event.h ('k') | chrome/common/resource_bundle.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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_COMMON_RESOURCE_BUNDLE_H__ 5 #ifndef CHROME_COMMON_RESOURCE_BUNDLE_H__
6 #define CHROME_COMMON_RESOURCE_BUNDLE_H__ 6 #define CHROME_COMMON_RESOURCE_BUNDLE_H__
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 #if defined(OS_WIN) 108 #if defined(OS_WIN)
109 // Loads and returns an icon from the theme dll. 109 // Loads and returns an icon from the theme dll.
110 HICON LoadThemeIcon(int icon_id); 110 HICON LoadThemeIcon(int icon_id);
111 111
112 // Loads and returns the global accelerators. 112 // Loads and returns the global accelerators.
113 HACCEL GetGlobalAccelerators(); 113 HACCEL GetGlobalAccelerators();
114 114
115 // Loads and returns a cursor from the app module. 115 // Loads and returns a cursor from the app module.
116 HCURSOR LoadCursor(int cursor_id); 116 HCURSOR LoadCursor(int cursor_id);
117 #elif defined(OS_LINUX) 117 #elif defined(TOOLKIT_GTK)
118 // Load a theme image as a GdkPixbuf. 118 // Load a theme image as a GdkPixbuf.
119 GdkPixbuf* LoadPixbuf(int resource_id); 119 GdkPixbuf* LoadPixbuf(int resource_id);
120 #endif 120 #endif
121 121
122 // Sets an Extension object that can handle theme resource requests. 122 // Sets an Extension object that can handle theme resource requests.
123 void SetThemeExtension(const Extension& e); 123 void SetThemeExtension(const Extension& e);
124 124
125 private: 125 private:
126 // We define a DataHandle typedef to abstract across how data is stored 126 // We define a DataHandle typedef to abstract across how data is stored
127 // across platforms. 127 // across platforms.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 scoped_ptr<ChromeFont> web_font_; 186 scoped_ptr<ChromeFont> web_font_;
187 187
188 static ResourceBundle* g_shared_instance_; 188 static ResourceBundle* g_shared_instance_;
189 189
190 scoped_ptr<Extension> theme_extension_; 190 scoped_ptr<Extension> theme_extension_;
191 191
192 DISALLOW_EVIL_CONSTRUCTORS(ResourceBundle); 192 DISALLOW_EVIL_CONSTRUCTORS(ResourceBundle);
193 }; 193 };
194 194
195 #endif // CHROME_COMMON_RESOURCE_BUNDLE_H__ 195 #endif // CHROME_COMMON_RESOURCE_BUNDLE_H__
OLDNEW
« no previous file with comments | « chrome/common/native_web_keyboard_event.h ('k') | chrome/common/resource_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698