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

Side by Side Diff: chrome/browser/autofill/autofill_manager.h

Issue 8603015: Get rid of a bunch of view_messages.h includes from chrome by making the TabContentsObserver inte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux and try to fix mac again Created 9 years, 1 month 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/browser/DEPS ('k') | chrome/browser/autofill/autofill_manager.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_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // Processes the submitted |form|, saving any new Autofill data and uploading 128 // Processes the submitted |form|, saving any new Autofill data and uploading
129 // the possible field types for the submitted fields to the crowdsouring 129 // the possible field types for the submitted fields to the crowdsouring
130 // server. Returns false if this form is not relevant for Autofill. 130 // server. Returns false if this form is not relevant for Autofill.
131 bool OnFormSubmitted(const webkit_glue::FormData& form, 131 bool OnFormSubmitted(const webkit_glue::FormData& form,
132 const base::TimeTicks& timestamp); 132 const base::TimeTicks& timestamp);
133 133
134 private: 134 private:
135 // TabContentsObserver: 135 // TabContentsObserver:
136 virtual void DidNavigateMainFrame( 136 virtual void DidNavigateMainFrame(
137 const content::LoadCommittedDetails& details, 137 const content::LoadCommittedDetails& details,
138 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 138 const content::FrameNavigateParams& params) OVERRIDE;
139 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 139 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
140 140
141 // AutofillDownloadManager::Observer: 141 // AutofillDownloadManager::Observer:
142 virtual void OnLoadedServerPredictions( 142 virtual void OnLoadedServerPredictions(
143 const std::string& response_xml) OVERRIDE; 143 const std::string& response_xml) OVERRIDE;
144 144
145 void OnFormsSeen(const std::vector<webkit_glue::FormData>& forms, 145 void OnFormsSeen(const std::vector<webkit_glue::FormData>& forms,
146 const base::TimeTicks& timestamp); 146 const base::TimeTicks& timestamp);
147 void OnTextFieldDidChange(const webkit_glue::FormData& form, 147 void OnTextFieldDidChange(const webkit_glue::FormData& form,
148 const webkit_glue::FormField& field, 148 const webkit_glue::FormField& field,
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 TestTabContentsWithExternalDelegate); 330 TestTabContentsWithExternalDelegate);
331 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, 331 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest,
332 UserHappinessFormLoadAndSubmission); 332 UserHappinessFormLoadAndSubmission);
333 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); 333 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction);
334 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, FormFillDuration); 334 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, FormFillDuration);
335 335
336 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 336 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
337 }; 337 };
338 338
339 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 339 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698