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

Side by Side Diff: chrome/browser/ui/autofill/tab_autofill_manager_delegate.h

Issue 12091086: [Autofill] Add UMA timing metrics for requestAutocomplete dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar vertical whitespace Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
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_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/autofill/autofill_manager_delegate.h" 9 #include "chrome/browser/autofill/autofill_manager_delegate.h"
10 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" 10 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
(...skipping 27 matching lines...) Expand all
38 virtual bool IsSavingPasswordsEnabled() const OVERRIDE; 38 virtual bool IsSavingPasswordsEnabled() const OVERRIDE;
39 virtual void ShowAutofillSettings() OVERRIDE; 39 virtual void ShowAutofillSettings() OVERRIDE;
40 virtual void ShowPasswordGenerationBubble( 40 virtual void ShowPasswordGenerationBubble(
41 const gfx::Rect& bounds, 41 const gfx::Rect& bounds,
42 const content::PasswordForm& form, 42 const content::PasswordForm& form,
43 autofill::PasswordGenerator* generator) OVERRIDE; 43 autofill::PasswordGenerator* generator) OVERRIDE;
44 virtual void ShowRequestAutocompleteDialog( 44 virtual void ShowRequestAutocompleteDialog(
45 const FormData& form, 45 const FormData& form,
46 const GURL& source_url, 46 const GURL& source_url,
47 const content::SSLStatus& ssl_status, 47 const content::SSLStatus& ssl_status,
48 const AutofillMetrics& metric_logger,
48 const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; 49 const base::Callback<void(const FormStructure*)>& callback) OVERRIDE;
49 virtual void RequestAutocompleteDialogClosed() OVERRIDE; 50 virtual void RequestAutocompleteDialogClosed() OVERRIDE;
50 51
51 // content::WebContentsObserver implementation. 52 // content::WebContentsObserver implementation.
52 virtual void DidNavigateMainFrame( 53 virtual void DidNavigateMainFrame(
53 const content::LoadCommittedDetails& details, 54 const content::LoadCommittedDetails& details,
54 const content::FrameNavigateParams& params) OVERRIDE; 55 const content::FrameNavigateParams& params) OVERRIDE;
55 56
56 private: 57 private:
57 explicit TabAutofillManagerDelegate(content::WebContents* web_contents); 58 explicit TabAutofillManagerDelegate(content::WebContents* web_contents);
58 friend class content::WebContentsUserData<TabAutofillManagerDelegate>; 59 friend class content::WebContentsUserData<TabAutofillManagerDelegate>;
59 60
60 // Hides the associated request autocomplete dialog (if it exists). 61 // Hides the associated request autocomplete dialog (if it exists).
61 void HideRequestAutocompleteDialog(); 62 void HideRequestAutocompleteDialog();
62 63
63 content::WebContents* const web_contents_; 64 content::WebContents* const web_contents_;
64 autofill::AutofillDialogControllerImpl* autofill_dialog_controller_; // weak. 65 autofill::AutofillDialogControllerImpl* autofill_dialog_controller_; // weak.
65 66
66 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); 67 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate);
67 }; 68 };
68 69
69 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ 70 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698