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

Unified Diff: components/autofill/browser/autofill_manager.h

Issue 15942004: Stop offering Autocheckout bubble on the forms of no interest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill/browser/autofill_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/autofill_manager.h
diff --git a/components/autofill/browser/autofill_manager.h b/components/autofill/browser/autofill_manager.h
index 9233659024069dc5f392bf3d0957a0ea438acc4a..35aa535c0804aece0e602a6742ea86c2f421833c 100644
--- a/components/autofill/browser/autofill_manager.h
+++ b/components/autofill/browser/autofill_manager.h
@@ -174,6 +174,13 @@ class AutofillManager : public content::WebContentsObserver,
const base::TimeTicks& interaction_time,
const base::TimeTicks& submission_time);
+ // Shows the Autocheckout bubble if conditions are right. See comments for
+ // AutocheckoutManager::MaybeShowAutocheckoutBubble. Input element requesting
+ // bubble belongs to |form|. |bounding_box| is the bounding box of the input
+ // field in focus.
+ virtual void OnMaybeShowAutocheckoutBubble(const FormData& form,
+ const gfx::RectF& bounding_box);
+
// Maps GUIDs to and from IDs that are used to identify profiles and credit
// cards sent to and from the renderer process.
virtual int GUIDToID(const PersonalDataManager::GUIDPair& guid) const;
@@ -263,14 +270,6 @@ class AutofillManager : public content::WebContentsObserver,
// Autocheckout flow.
void OnClickFailed(autofill::AutocheckoutStatus status);
- // Shows the Autocheckout bubble if conditions are right. See comments for
- // AutocheckoutManager::MaybeShowAutocheckoutBubble. |source_url| is the site
- // Autocheckout is being offered on. |ssl_status| is the SSL status of the
- // page. |bounding_box| is the bounding box of the input field in focus.
- void OnMaybeShowAutocheckoutBubble(const GURL& source_url,
- const content::SSLStatus& ssl_status,
- const gfx::RectF& bounding_box);
-
// Returns the matched whitelist URL prefix for the current tab's url.
virtual std::string GetAutocheckoutURLPrefix() const;
« no previous file with comments | « no previous file | components/autofill/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698