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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents.h

Issue 10837363: Introduce AutofillClient and use it to get rid of PasswordManager dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, rename stuff. Created 8 years, 4 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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 22 matching lines...) Expand all
33 class PasswordManager; 33 class PasswordManager;
34 class PasswordManagerDelegate; 34 class PasswordManagerDelegate;
35 class PDFTabObserver; 35 class PDFTabObserver;
36 class PluginObserver; 36 class PluginObserver;
37 class PrefsTabHelper; 37 class PrefsTabHelper;
38 class Profile; 38 class Profile;
39 class RestoreTabHelper; 39 class RestoreTabHelper;
40 class SadTabHelper; 40 class SadTabHelper;
41 class SearchEngineTabHelper; 41 class SearchEngineTabHelper;
42 class SnapshotTabHelper; 42 class SnapshotTabHelper;
43 class TabAutofillManagerDelegate;
43 class TabContentsSSLHelper; 44 class TabContentsSSLHelper;
44 class TabSpecificContentSettings; 45 class TabSpecificContentSettings;
45 class ThumbnailGenerator; 46 class ThumbnailGenerator;
46 class TranslateTabHelper; 47 class TranslateTabHelper;
47 class WebIntentPickerController; 48 class WebIntentPickerController;
48 class ZoomController; 49 class ZoomController;
49 50
50 #if defined(ENABLE_ONE_CLICK_SIGNIN) 51 #if defined(ENABLE_ONE_CLICK_SIGNIN)
51 class OneClickSigninHelper; 52 class OneClickSigninHelper;
52 #endif 53 #endif
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // Used to retrieve this object from |web_contents_|, which is placed in 262 // Used to retrieve this object from |web_contents_|, which is placed in
262 // its property bag to avoid adding additional interfaces. 263 // its property bag to avoid adding additional interfaces.
263 static base::PropertyAccessor<TabContents*>* property_accessor(); 264 static base::PropertyAccessor<TabContents*>* property_accessor();
264 265
265 // Tab Helpers --------------------------------------------------------------- 266 // Tab Helpers ---------------------------------------------------------------
266 // (These provide API for callers and have a getter function listed in the 267 // (These provide API for callers and have a getter function listed in the
267 // "Tab Helpers" section in the member functions area, above.) 268 // "Tab Helpers" section in the member functions area, above.)
268 269
269 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; 270 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_;
270 scoped_refptr<AutofillManager> autofill_manager_; 271 scoped_refptr<AutofillManager> autofill_manager_;
272 scoped_ptr<TabAutofillManagerDelegate> autofill_delegate_;
271 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; 273 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_;
272 scoped_ptr<AutomationTabHelper> automation_tab_helper_; 274 scoped_ptr<AutomationTabHelper> automation_tab_helper_;
273 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; 275 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_;
274 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; 276 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_;
275 scoped_ptr<chrome_browser_net::LoadTimeStatsTabHelper> 277 scoped_ptr<chrome_browser_net::LoadTimeStatsTabHelper>
276 load_time_stats_tab_helper_; 278 load_time_stats_tab_helper_;
277 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 279 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
278 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; 280 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_;
279 #endif 281 #endif
280 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; 282 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 345
344 // The supporting objects need to outlive the WebContents dtor (as they may 346 // The supporting objects need to outlive the WebContents dtor (as they may
345 // be called upon during its execution). As a result, this must come last 347 // be called upon during its execution). As a result, this must come last
346 // in the list. 348 // in the list.
347 scoped_ptr<content::WebContents> web_contents_; 349 scoped_ptr<content::WebContents> web_contents_;
348 350
349 DISALLOW_COPY_AND_ASSIGN(TabContents); 351 DISALLOW_COPY_AND_ASSIGN(TabContents);
350 }; 352 };
351 353
352 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ 354 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698