Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: components/autofill/core/browser/autofill_driver.h

Issue 2606473003: Use AutofillDriver* in ContentAutofillDriverFactory when possible (Closed)
Patch Set: Fix Android compilation Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/autofill/content/browser/content_autofill_driver_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CORE_BROWSER_AUTOFILL_DRIVER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "components/autofill/core/common/form_data.h" 10 #include "components/autofill/core/common/form_data.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 // Transform bounding box coordinates to real viewport coordinates. In 97 // Transform bounding box coordinates to real viewport coordinates. In
98 // the case of a page spanning multiple renderer processes, subframe 98 // the case of a page spanning multiple renderer processes, subframe
99 // renderers cannot do this transformation themselves. 99 // renderers cannot do this transformation themselves.
100 virtual gfx::RectF TransformBoundingBoxToViewportCoordinates( 100 virtual gfx::RectF TransformBoundingBoxToViewportCoordinates(
101 const gfx::RectF& bounding_box) = 0; 101 const gfx::RectF& bounding_box) = 0;
102 102
103 // Called when the user interacted with a credit card form, so that 103 // Called when the user interacted with a credit card form, so that
104 // the current page's security state can be updated appropriately. 104 // the current page's security state can be updated appropriately.
105 virtual void DidInteractWithCreditCardForm() = 0; 105 virtual void DidInteractWithCreditCardForm() = 0;
106
107 // Tells the driver that the frame navigated to a different page.
108 virtual void NavigatedToDifferentPage() {}
106 }; 109 };
107 110
108 } // namespace autofill 111 } // namespace autofill
109 112
110 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ 113 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_
OLDNEW
« no previous file with comments | « components/autofill/content/browser/content_autofill_driver_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698