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

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

Issue 8230034: Split most of RenderViewTest and associated classes into content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build breaks. Created 9 years, 2 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/chrome_tests.gypi ('k') | chrome/renderer/autofill/autofill_browsertest.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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // The menu index of the "Autofill options..." menu item. 170 // The menu index of the "Autofill options..." menu item.
171 int suggestions_options_index_; 171 int suggestions_options_index_;
172 172
173 // Have we already shown Autofill suggestions for the field the user is 173 // Have we already shown Autofill suggestions for the field the user is
174 // currently editing? Used to keep track of state for metrics logging. 174 // currently editing? Used to keep track of state for metrics logging.
175 bool has_shown_autofill_popup_for_current_edit_; 175 bool has_shown_autofill_popup_for_current_edit_;
176 176
177 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; 177 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
178 178
179 friend class PasswordAutofillManagerTest; 179 friend class PasswordAutofillManagerTest;
180 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, SendForms); 180 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, SendForms);
181 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, FillFormElement); 181 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, FillFormElement);
182 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); 182 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername);
183 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); 183 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept);
184 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); 184 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect);
185 185
186 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 186 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
187 }; 187 };
188 188
189 } // namespace autofill 189 } // namespace autofill
190 190
191 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ 191 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/autofill/autofill_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698