OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 static IntRect screenAvailableRect(Widget*); | 232 static IntRect screenAvailableRect(Widget*); |
233 | 233 |
234 // SharedTimers ------------------------------------------------------- | 234 // SharedTimers ------------------------------------------------------- |
235 static void setSharedTimerFiredFunction(void (*func)()); | 235 static void setSharedTimerFiredFunction(void (*func)()); |
236 static void setSharedTimerFireTime(double fireTime); | 236 static void setSharedTimerFireTime(double fireTime); |
237 static void stopSharedTimer(); | 237 static void stopSharedTimer(); |
238 | 238 |
239 // StatsCounters ------------------------------------------------------ | 239 // StatsCounters ------------------------------------------------------ |
240 static void decrementStatsCounter(const char* name); | 240 static void decrementStatsCounter(const char* name); |
241 static void incrementStatsCounter(const char* name); | 241 static void incrementStatsCounter(const char* name); |
| 242 static void histogramCustomCounts(const char* name, int sample, int min,
int max, int bucketCount); |
| 243 static void histogramEnumeration(const char* name, int sample, int bound
aryValue); |
242 | 244 |
243 // Sudden Termination | 245 // Sudden Termination |
244 static void suddenTerminationChanged(bool enabled); | 246 static void suddenTerminationChanged(bool enabled); |
245 | 247 |
246 // SystemTime --------------------------------------------------------- | 248 // SystemTime --------------------------------------------------------- |
247 static double currentTime(); | 249 static double currentTime(); |
248 | 250 |
249 // Theming ------------------------------------------------------------ | 251 // Theming ------------------------------------------------------------ |
250 #if OS(WINDOWS) | 252 #if OS(WINDOWS) |
251 static void paintButton( | 253 static void paintButton( |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 static LinkHash visitedLinkHash(const KURL& base, const AtomicString& at
tributeURL); | 318 static LinkHash visitedLinkHash(const KURL& base, const AtomicString& at
tributeURL); |
317 static bool isLinkVisited(LinkHash); | 319 static bool isLinkVisited(LinkHash); |
318 | 320 |
319 // Widget ------------------------------------------------------------- | 321 // Widget ------------------------------------------------------------- |
320 static void widgetSetCursor(Widget*, const Cursor&); | 322 static void widgetSetCursor(Widget*, const Cursor&); |
321 }; | 323 }; |
322 | 324 |
323 } // namespace WebCore | 325 } // namespace WebCore |
324 | 326 |
325 #endif | 327 #endif |
OLD | NEW |