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

Side by Side Diff: chrome/renderer/autofill/autofill_agent.h

Issue 7747009: Add metrics to track Autofill "user happiness" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 3 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
« no previous file with comments | « chrome/common/autofill_messages.h ('k') | chrome/renderer/autofill/autofill_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ 5 #ifndef CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_
6 #define CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ 6 #define CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 // Was the query node autofilled prior to previewing the form? 157 // Was the query node autofilled prior to previewing the form?
158 bool was_query_node_autofilled_; 158 bool was_query_node_autofilled_;
159 159
160 // The menu index of the "Clear" menu item. 160 // The menu index of the "Clear" menu item.
161 int suggestions_clear_index_; 161 int suggestions_clear_index_;
162 162
163 // The menu index of the "Autofill options..." menu item. 163 // The menu index of the "Autofill options..." menu item.
164 int suggestions_options_index_; 164 int suggestions_options_index_;
165 165
166 // Have we already shown Autofill suggestions for the field the user is
167 // currently editing? Used to keep track of state for metrics logging.
168 bool has_shown_autofill_popup_for_current_edit_;
169
166 ScopedRunnableMethodFactory<AutofillAgent> method_factory_; 170 ScopedRunnableMethodFactory<AutofillAgent> method_factory_;
167 171
168 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 172 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
169 }; 173 };
170 174
171 } // namespace autofill 175 } // namespace autofill
172 176
173 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ 177 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_
OLDNEW
« no previous file with comments | « chrome/common/autofill_messages.h ('k') | chrome/renderer/autofill/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698