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

Side by Side Diff: platform/chromium/ChromiumBridge.h

Issue 204005: Minor tweaks needed to support FreeBSD. Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
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
« no previous file with comments | « no previous file | platform/graphics/chromium/FontPlatformData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. 2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 static bool getFileSize(const String&, long long& result); 93 static bool getFileSize(const String&, long long& result);
94 static bool getFileModificationTime(const String&, time_t& result); 94 static bool getFileModificationTime(const String&, time_t& result);
95 static String directoryName(const String& path); 95 static String directoryName(const String& path);
96 static String pathByAppendingComponent(const String& path, const String& component); 96 static String pathByAppendingComponent(const String& path, const String& component);
97 static bool makeAllDirectories(const String& path); 97 static bool makeAllDirectories(const String& path);
98 98
99 // Font --------------------------------------------------------------- 99 // Font ---------------------------------------------------------------
100 #if PLATFORM(WIN_OS) 100 #if PLATFORM(WIN_OS)
101 static bool ensureFontLoaded(HFONT font); 101 static bool ensureFontLoaded(HFONT font);
102 #endif 102 #endif
103 #if PLATFORM(LINUX) 103 #if PLATFORM(LINUX) || PLATFORM(FREEBSD)
104 static String getFontFamilyForCharacters(const UChar*, size_t numCharact ers); 104 static String getFontFamilyForCharacters(const UChar*, size_t numCharact ers);
105 #endif 105 #endif
106 106
107 // Forms -------------------------------------------------------------- 107 // Forms --------------------------------------------------------------
108 static void notifyFormStateChanged(const Document*); 108 static void notifyFormStateChanged(const Document*);
109 109
110 // HTML5 DB ----------------------------------------------------------- 110 // HTML5 DB -----------------------------------------------------------
111 #if ENABLE(DATABASE) 111 #if ENABLE(DATABASE)
112 // Returns a handle to the DB file and ooptionally a handle to its conta ining directory 112 // Returns a handle to the DB file and ooptionally a handle to its conta ining directory
113 static PlatformFileHandle databaseOpenFile(const String& fileName, int d esiredFlags, PlatformFileHandle* dirHandle = 0); 113 static PlatformFileHandle databaseOpenFile(const String& fileName, int d esiredFlags, PlatformFileHandle* dirHandle = 0);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 static bool isLinkVisited(LinkHash); 201 static bool isLinkVisited(LinkHash);
202 202
203 // Widget ------------------------------------------------------------- 203 // Widget -------------------------------------------------------------
204 static void widgetSetCursor(Widget*, const Cursor&); 204 static void widgetSetCursor(Widget*, const Cursor&);
205 static void widgetSetFocus(Widget*); 205 static void widgetSetFocus(Widget*);
206 }; 206 };
207 207
208 } // namespace WebCore 208 } // namespace WebCore
209 209
210 #endif 210 #endif
OLDNEW
« no previous file with comments | « no previous file | platform/graphics/chromium/FontPlatformData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698