OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBKIT_GLUE_H_ | 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ |
6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ | 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 void NotifyJSOutOfMemory(WebCore::Frame* frame); | 266 void NotifyJSOutOfMemory(WebCore::Frame* frame); |
267 | 267 |
268 // Tells the plugin thread to terminate the process forcefully instead of | 268 // Tells the plugin thread to terminate the process forcefully instead of |
269 // exiting cleanly. | 269 // exiting cleanly. |
270 void SetForcefullyTerminatePluginProcess(bool value); | 270 void SetForcefullyTerminatePluginProcess(bool value); |
271 | 271 |
272 // Returns true if the plugin thread should terminate the process forcefully | 272 // Returns true if the plugin thread should terminate the process forcefully |
273 // instead of exiting cleanly. | 273 // instead of exiting cleanly. |
274 bool ShouldForcefullyTerminatePluginProcess(); | 274 bool ShouldForcefullyTerminatePluginProcess(); |
275 | 275 |
| 276 // Returns the hash for the given canonicalized URL for use in visited link |
| 277 // coloring. |
| 278 uint64 VisitedLinkHash(const char* canonical_url, size_t length); |
| 279 |
| 280 bool IsLinkVisited(uint64 link_hash); |
| 281 |
276 } // namespace webkit_glue | 282 } // namespace webkit_glue |
277 | 283 |
278 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 284 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
OLD | NEW |