| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_WEBVIEW_H_ | 5 #ifndef WEBKIT_GLUE_WEBVIEW_H_ |
| 6 #define WEBKIT_GLUE_WEBVIEW_H_ | 6 #define WEBKIT_GLUE_WEBVIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 static WebView* Create(WebViewDelegate* delegate); | 56 static WebView* Create(WebViewDelegate* delegate); |
| 57 | 57 |
| 58 // Tells all Page instances of this view to update the visited link state for | 58 // Tells all Page instances of this view to update the visited link state for |
| 59 // the specified hash. | 59 // the specified hash. |
| 60 static void UpdateVisitedLinkState(uint64 link_hash); | 60 static void UpdateVisitedLinkState(uint64 link_hash); |
| 61 | 61 |
| 62 // Tells all Page instances of this view to update visited state for all their | 62 // Tells all Page instances of this view to update visited state for all their |
| 63 // links. | 63 // links. |
| 64 static void ResetVisitedLinkState(); | 64 static void ResetVisitedLinkState(); |
| 65 | 65 |
| 66 // Notifies the webview that autofill suggestions are available for a node. | |
| 67 virtual void AutofillSuggestionsForNode( | |
| 68 int64 node_id, | |
| 69 const std::vector<std::wstring>& suggestions, | |
| 70 int default_suggestion_index) = 0; | |
| 71 | |
| 72 // Hides the autofill popup if any are showing. | |
| 73 virtual void HideAutofillPopup() = 0; | |
| 74 | |
| 75 // Returns development tools agent instance belonging to this view. | 66 // Returns development tools agent instance belonging to this view. |
| 76 virtual WebDevToolsAgent* GetWebDevToolsAgent() = 0; | 67 virtual WebDevToolsAgent* GetWebDevToolsAgent() = 0; |
| 77 | 68 |
| 78 private: | 69 private: |
| 79 DISALLOW_COPY_AND_ASSIGN(WebView); | 70 DISALLOW_COPY_AND_ASSIGN(WebView); |
| 80 }; | 71 }; |
| 81 | 72 |
| 82 #endif // WEBKIT_GLUE_WEBVIEW_H_ | 73 #endif // WEBKIT_GLUE_WEBVIEW_H_ |
| OLD | NEW |