 Chromium Code Reviews
 Chromium Code Reviews Issue 11270018:
  [autofill] Adding new API to request an interactive autocomplete UI flow.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 11270018:
  [autofill] Adding new API to request an interactive autocomplete UI flow.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| OLD | NEW | 
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 5 #ifndef CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 
| 6 #define CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 6 #define CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 
| 7 | 7 | 
| 8 #include <vector> | 8 #include <vector> | 
| 9 | 9 | 
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 53 | 53 | 
| 54 // RenderView::Observer: | 54 // RenderView::Observer: | 
| 55 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 55 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 
| 56 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; | 56 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; | 
| 57 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; | 57 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; | 
| 58 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE; | 58 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE; | 
| 59 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 59 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 
| 60 const WebKit::WebFormElement& form) OVERRIDE; | 60 const WebKit::WebFormElement& form) OVERRIDE; | 
| 61 virtual void ZoomLevelChanged() OVERRIDE; | 61 virtual void ZoomLevelChanged() OVERRIDE; | 
| 62 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) OVERRIDE; | 62 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) OVERRIDE; | 
| 63 virtual void RequestAutocomplete(WebKit::WebFrame* frame, | |
| 64 const WebKit::WebFormElement& form) OVERRIDE; | |
| 63 | 65 | 
| 64 // PageClickListener: | 66 // PageClickListener: | 
| 65 virtual bool InputElementClicked(const WebKit::WebInputElement& element, | 67 virtual bool InputElementClicked(const WebKit::WebInputElement& element, | 
| 66 bool was_focused, | 68 bool was_focused, | 
| 67 bool is_focused) OVERRIDE; | 69 bool is_focused) OVERRIDE; | 
| 68 virtual bool InputElementLostFocus() OVERRIDE; | 70 virtual bool InputElementLostFocus() OVERRIDE; | 
| 69 | 71 | 
| 70 // WebKit::WebAutofillClient: | 72 // WebKit::WebAutofillClient: | 
| 
Evan Stade
2012/10/24 21:59:44
this looks for all the world like the place Reques
 
Dan Beam
2012/10/26 03:06:05
I thought so at first as well, but it ended up bei
 
Ilya Sherman
2012/10/26 03:35:28
Yeah, the WebAutofillClient is all about the exist
 | |
| 71 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, | 73 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, | 
| 72 const WebKit::WebString& value, | 74 const WebKit::WebString& value, | 
| 73 const WebKit::WebString& label, | 75 const WebKit::WebString& label, | 
| 74 int item_id, | 76 int item_id, | 
| 75 unsigned index) OVERRIDE; | 77 unsigned index) OVERRIDE; | 
| 76 virtual void didSelectAutofillSuggestion(const WebKit::WebNode& node, | 78 virtual void didSelectAutofillSuggestion(const WebKit::WebNode& node, | 
| 77 const WebKit::WebString& value, | 79 const WebKit::WebString& value, | 
| 78 const WebKit::WebString& label, | 80 const WebKit::WebString& label, | 
| 79 int item_id) OVERRIDE; | 81 int item_id) OVERRIDE; | 
| 80 virtual void didClearAutofillSelection(const WebKit::WebNode& node) OVERRIDE; | 82 virtual void didClearAutofillSelection(const WebKit::WebNode& node) OVERRIDE; | 
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 198 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); | 200 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); | 
| 199 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); | 201 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); | 
| 200 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); | 202 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); | 
| 201 | 203 | 
| 202 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 204 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 
| 203 }; | 205 }; | 
| 204 | 206 | 
| 205 } // namespace autofill | 207 } // namespace autofill | 
| 206 | 208 | 
| 207 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 209 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 
| OLD | NEW |