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 TransformBoundingBox(const gfx::RectF& bounding_box) override; |
64 | 65 |
65 // Handles a message that came from the associated render frame. | 66 // Handles a message that came from the associated render frame. |
66 bool HandleMessage(const IPC::Message& message); | 67 bool HandleMessage(const IPC::Message& message); |
67 | 68 |
68 // Called when the frame has navigated. | 69 // Called when the frame has navigated. |
69 void DidNavigateFrame(const content::LoadCommittedDetails& details, | 70 void DidNavigateFrame(const content::LoadCommittedDetails& details, |
70 const content::FrameNavigateParams& params); | 71 const content::FrameNavigateParams& params); |
71 | 72 |
72 AutofillExternalDelegate* autofill_external_delegate() { | 73 AutofillExternalDelegate* autofill_external_delegate() { |
73 return &autofill_external_delegate_; | 74 return &autofill_external_delegate_; |
(...skipping 23 matching lines...) Expand all Loading... |
97 // case where the Autofill native UI is enabled. | 98 // case where the Autofill native UI is enabled. |
98 AutofillExternalDelegate autofill_external_delegate_; | 99 AutofillExternalDelegate autofill_external_delegate_; |
99 | 100 |
100 // Driver for the interactive autocomplete dialog. | 101 // Driver for the interactive autocomplete dialog. |
101 RequestAutocompleteManager request_autocomplete_manager_; | 102 RequestAutocompleteManager request_autocomplete_manager_; |
102 }; | 103 }; |
103 | 104 |
104 } // namespace autofill | 105 } // namespace autofill |
105 | 106 |
106 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 107 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
OLD | NEW |