| 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_DOM_OPERATIONS_H__ | 5 #ifndef WEBKIT_GLUE_DOM_OPERATIONS_H__ |
| 6 #define WEBKIT_GLUE_DOM_OPERATIONS_H__ | 6 #define WEBKIT_GLUE_DOM_OPERATIONS_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/gfx/size.h" | 11 #include "base/gfx/size.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 #include "webkit/glue/password_form_dom_manager.h" | 13 #include "webkit/glue/password_form_dom_manager.h" |
| 14 | 14 |
| 15 namespace WebKit { | 15 namespace WebKit { |
| 16 class WebView; | 16 class WebView; |
| 17 } | 17 } |
| 18 | 18 |
| 19 struct FormData; | 19 struct FormData; |
| 20 class WebFrameImpl; | |
| 21 | 20 |
| 22 // A collection of operations that access the underlying WebKit DOM directly. | 21 // A collection of operations that access the underlying WebKit DOM directly. |
| 23 namespace webkit_glue { | 22 namespace webkit_glue { |
| 24 | 23 |
| 25 // Fill in a form identified by form |data|. | 24 // Fill in a form identified by form |data|. |
| 26 bool FillForm(WebKit::WebView* view, const FormData& data); | 25 bool FillForm(WebKit::WebView* view, const FormData& data); |
| 27 | 26 |
| 28 // Fill matching password forms and trigger autocomplete in the case of multiple | 27 // Fill matching password forms and trigger autocomplete in the case of multiple |
| 29 // matching logins. | 28 // matching logins. |
| 30 void FillPasswordForm(WebKit::WebView* view, | 29 void FillPasswordForm(WebKit::WebView* view, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // on. | 121 // on. |
| 123 bool ElementDoesAutoCompleteForElementWithId(WebKit::WebView* view, | 122 bool ElementDoesAutoCompleteForElementWithId(WebKit::WebView* view, |
| 124 const std::string& element_id); | 123 const std::string& element_id); |
| 125 | 124 |
| 126 // Returns the number of animations currently running. | 125 // Returns the number of animations currently running. |
| 127 int NumberOfActiveAnimations(WebKit::WebView* view); | 126 int NumberOfActiveAnimations(WebKit::WebView* view); |
| 128 | 127 |
| 129 } // namespace webkit_glue | 128 } // namespace webkit_glue |
| 130 | 129 |
| 131 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ | 130 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ |
| OLD | NEW |