| 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 // the name of the field |field_name| and what the user has already typed in | 315 // the name of the field |field_name| and what the user has already typed in |
| 316 // the field |user_text|. Appeals to the database thead to perform the query. | 316 // the field |user_text|. Appeals to the database thead to perform the query. |
| 317 // When the database thread is finished, the autofill manager retrieves the | 317 // When the database thread is finished, the autofill manager retrieves the |
| 318 // calling RenderViewHost and then passes the vector of suggestions to | 318 // calling RenderViewHost and then passes the vector of suggestions to |
| 319 // RenderViewHost::AutofillSuggestionsReturned. | 319 // RenderViewHost::AutofillSuggestionsReturned. |
| 320 virtual void GetAutofillSuggestions(const std::wstring& field_name, | 320 virtual void GetAutofillSuggestions(const std::wstring& field_name, |
| 321 const std::wstring& user_text, | 321 const std::wstring& user_text, |
| 322 int64 node_id, | 322 int64 node_id, |
| 323 int request_id) { } | 323 int request_id) { } |
| 324 | 324 |
| 325 // Called when the user has indicated that she wants to remove the specified |
| 326 // autofill suggestion from the database. |
| 327 virtual void RemoveAutofillEntry(const std::wstring& field_name, |
| 328 const std::wstring& value) { } |
| 329 |
| 325 // Notification that the page has an OpenSearch description document. | 330 // Notification that the page has an OpenSearch description document. |
| 326 virtual void PageHasOSDD(RenderViewHost* render_view_host, | 331 virtual void PageHasOSDD(RenderViewHost* render_view_host, |
| 327 int32 page_id, const GURL& doc_url, | 332 int32 page_id, const GURL& doc_url, |
| 328 bool autodetected) { } | 333 bool autodetected) { } |
| 329 | 334 |
| 330 // Notification that the inspect element window has been opened | 335 // Notification that the inspect element window has been opened |
| 331 virtual void InspectElementReply(int num_resources) { } | 336 virtual void InspectElementReply(int num_resources) { } |
| 332 | 337 |
| 333 // Notification that the render view has calculated the number of printed | 338 // Notification that the render view has calculated the number of printed |
| 334 // pages. | 339 // pages. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 | 419 |
| 415 // A find operation in the current page completed. | 420 // A find operation in the current page completed. |
| 416 virtual void OnFindReply(int request_id, | 421 virtual void OnFindReply(int request_id, |
| 417 int number_of_matches, | 422 int number_of_matches, |
| 418 const gfx::Rect& selection_rect, | 423 const gfx::Rect& selection_rect, |
| 419 int active_match_ordinal, | 424 int active_match_ordinal, |
| 420 bool final_update) { } | 425 bool final_update) { } |
| 421 }; | 426 }; |
| 422 | 427 |
| 423 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 428 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |