| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 #if defined(OS_WIN) | 238 #if defined(OS_WIN) |
| 239 // Asks the browser to load the font. | 239 // Asks the browser to load the font. |
| 240 bool EnsureFontLoaded(HFONT font); | 240 bool EnsureFontLoaded(HFONT font); |
| 241 #endif | 241 #endif |
| 242 | 242 |
| 243 // Returns screen information corresponding to the given window. | 243 // Returns screen information corresponding to the given window. |
| 244 ScreenInfo GetScreenInfo(gfx::NativeView window); | 244 ScreenInfo GetScreenInfo(gfx::NativeView window); |
| 245 | 245 |
| 246 // Functions implemented by webkit_glue for WebKit ---------------------------- | 246 // Functions implemented by webkit_glue for WebKit ---------------------------- |
| 247 | 247 |
| 248 // Notifies the embedder that a form element value has changed. The document | |
| 249 // pointer, which MAY BE NULL, indicates the document that owns the form | |
| 250 // element that changed, if any. | |
| 251 void NotifyFormStateChanged(const WebCore::Document* document); | |
| 252 | |
| 253 // Returns a bool indicating if the Null plugin should be enabled or not. | 248 // Returns a bool indicating if the Null plugin should be enabled or not. |
| 254 bool IsDefaultPluginEnabled(); | 249 bool IsDefaultPluginEnabled(); |
| 255 | 250 |
| 256 #if defined(OS_WIN) | 251 #if defined(OS_WIN) |
| 257 // Downloads the file specified by the URL. On sucess a WM_COPYDATA message | 252 // Downloads the file specified by the URL. On sucess a WM_COPYDATA message |
| 258 // will be sent to the caller_window. | 253 // will be sent to the caller_window. |
| 259 bool DownloadUrl(const std::string& url, HWND caller_window); | 254 bool DownloadUrl(const std::string& url, HWND caller_window); |
| 260 #endif | 255 #endif |
| 261 | 256 |
| 262 // Returns the plugin finder URL. | 257 // Returns the plugin finder URL. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 281 // coloring. | 276 // coloring. |
| 282 uint64 VisitedLinkHash(const char* canonical_url, size_t length); | 277 uint64 VisitedLinkHash(const char* canonical_url, size_t length); |
| 283 | 278 |
| 284 // Returns whether the given link hash is in the user's history. The hash must | 279 // Returns whether the given link hash is in the user's history. The hash must |
| 285 // have been generated by calling VisitedLinkHash(). | 280 // have been generated by calling VisitedLinkHash(). |
| 286 bool IsLinkVisited(uint64 link_hash); | 281 bool IsLinkVisited(uint64 link_hash); |
| 287 | 282 |
| 288 } // namespace webkit_glue | 283 } // namespace webkit_glue |
| 289 | 284 |
| 290 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 285 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
| OLD | NEW |