| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 void SendAutofillTypePredictionsToRenderer( | 54 void SendAutofillTypePredictionsToRenderer( |
| 55 const std::vector<FormStructure*>& forms) override; | 55 const std::vector<FormStructure*>& forms) override; |
| 56 void RendererShouldAcceptDataListSuggestion( | 56 void RendererShouldAcceptDataListSuggestion( |
| 57 const base::string16& value) override; | 57 const base::string16& value) override; |
| 58 void RendererShouldClearFilledForm() override; | 58 void RendererShouldClearFilledForm() override; |
| 59 void RendererShouldClearPreviewedForm() override; | 59 void RendererShouldClearPreviewedForm() override; |
| 60 void RendererShouldFillFieldWithValue(const base::string16& value) override; | 60 void RendererShouldFillFieldWithValue(const base::string16& value) override; |
| 61 void RendererShouldPreviewFieldWithValue( | 61 void RendererShouldPreviewFieldWithValue( |
| 62 const base::string16& value) override; | 62 const base::string16& value) override; |
| 63 void PopupHidden() override; | 63 void PopupHidden() override; |
| 64 gfx::RectF TransformBoundingBoxToViewportCoordinates( |
| 65 const gfx::RectF& bounding_box) override; |
| 64 | 66 |
| 65 // Handles a message that came from the associated render frame. | 67 // Handles a message that came from the associated render frame. |
| 66 bool HandleMessage(const IPC::Message& message); | 68 bool HandleMessage(const IPC::Message& message); |
| 67 | 69 |
| 68 // Called when the frame has navigated. | 70 // Called when the frame has navigated. |
| 69 void DidNavigateFrame(const content::LoadCommittedDetails& details, | 71 void DidNavigateFrame(const content::LoadCommittedDetails& details, |
| 70 const content::FrameNavigateParams& params); | 72 const content::FrameNavigateParams& params); |
| 71 | 73 |
| 72 AutofillExternalDelegate* autofill_external_delegate() { | 74 AutofillExternalDelegate* autofill_external_delegate() { |
| 73 return &autofill_external_delegate_; | 75 return &autofill_external_delegate_; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 97 // case where the Autofill native UI is enabled. | 99 // case where the Autofill native UI is enabled. |
| 98 AutofillExternalDelegate autofill_external_delegate_; | 100 AutofillExternalDelegate autofill_external_delegate_; |
| 99 | 101 |
| 100 // Driver for the interactive autocomplete dialog. | 102 // Driver for the interactive autocomplete dialog. |
| 101 RequestAutocompleteManager request_autocomplete_manager_; | 103 RequestAutocompleteManager request_autocomplete_manager_; |
| 102 }; | 104 }; |
| 103 | 105 |
| 104 } // namespace autofill | 106 } // namespace autofill |
| 105 | 107 |
| 106 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 108 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
| OLD | NEW |