| OLD | NEW |
| 1 // Copyright (c) 2008, Google Inc. | 1 // Copyright (c) 2008, Google Inc. |
| 2 // All rights reserved. | 2 // 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 static void setCookies(const KURL& url, const KURL& policyURL, const Str
ing& value); | 78 static void setCookies(const KURL& url, const KURL& policyURL, const Str
ing& value); |
| 79 static String cookies(const KURL& url, const KURL& policyURL); | 79 static String cookies(const KURL& url, const KURL& policyURL); |
| 80 | 80 |
| 81 // DNS ---------------------------------------------------------------- | 81 // DNS ---------------------------------------------------------------- |
| 82 static void prefetchDNS(const String& hostname); | 82 static void prefetchDNS(const String& hostname); |
| 83 | 83 |
| 84 // Font --------------------------------------------------------------- | 84 // Font --------------------------------------------------------------- |
| 85 #if PLATFORM(WIN_OS) | 85 #if PLATFORM(WIN_OS) |
| 86 static bool ensureFontLoaded(HFONT font); | 86 static bool ensureFontLoaded(HFONT font); |
| 87 #endif | 87 #endif |
| 88 | 88 |
| 89 // Forms -------------------------------------------------------------- | 89 // Forms -------------------------------------------------------------- |
| 90 static void notifyFormStateChanged(const Document* doc); | 90 static void notifyFormStateChanged(const Document* doc); |
| 91 | 91 |
| 92 // JavaScript --------------------------------------------------------- | 92 // JavaScript --------------------------------------------------------- |
| 93 static void notifyJSOutOfMemory(Frame* frame); | 93 static void notifyJSOutOfMemory(Frame* frame); |
| 94 | 94 |
| 95 // Language ----------------------------------------------------------- | 95 // Language ----------------------------------------------------------- |
| 96 static String computedDefaultLanguage(); | 96 static String computedDefaultLanguage(); |
| 97 | 97 |
| 98 // LayoutTestMode ----------------------------------------------------- | 98 // LayoutTestMode ----------------------------------------------------- |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // SystemTime ---------------------------------------------------------- | 138 // SystemTime ---------------------------------------------------------- |
| 139 static double currentTime(); | 139 static double currentTime(); |
| 140 | 140 |
| 141 // Trace Event -------------------------------------------------------- | 141 // Trace Event -------------------------------------------------------- |
| 142 static void traceEventBegin(const char* name, void* id, const char* extr
a); | 142 static void traceEventBegin(const char* name, void* id, const char* extr
a); |
| 143 static void traceEventEnd(const char* name, void* id, const char* extra)
; | 143 static void traceEventEnd(const char* name, void* id, const char* extra)
; |
| 144 | 144 |
| 145 // URL ---------------------------------------------------------------- | 145 // URL ---------------------------------------------------------------- |
| 146 static KURL inspectorURL(); | 146 static KURL inspectorURL(); |
| 147 | 147 |
| 148 // Visited links ------------------------------------------------------ |
| 149 static LinkHash visitedLinkHash(const UChar* url, unsigned length); |
| 150 static LinkHash visitedLinkHash(const KURL& base, |
| 151 const AtomicString& attributeURL); |
| 152 static bool isLinkVisited(LinkHash); |
| 153 |
| 148 // Widget ------------------------------------------------------------- | 154 // Widget ------------------------------------------------------------- |
| 149 static void widgetSetCursor(Widget*, const Cursor&); | 155 static void widgetSetCursor(Widget*, const Cursor&); |
| 150 static void widgetSetFocus(Widget*); | 156 static void widgetSetFocus(Widget*); |
| 151 | |
| 152 // Link history ------------------------------------------------------- | |
| 153 static bool isLinkVisited(LinkHash); | |
| 154 }; | 157 }; |
| 155 } | 158 } |
| 156 | 159 |
| 157 #endif | 160 #endif |
| OLD | NEW |