OLD | NEW |
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_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "chrome/browser/prefs/pref_change_registrar.h" | 15 #include "chrome/browser/prefs/pref_change_registrar.h" |
16 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_synced_tab_delegat
e.h" | 16 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_synced_tab_delegat
e.h" |
17 #include "content/browser/tab_contents/tab_contents.h" | 17 #include "content/browser/tab_contents/tab_contents.h" |
18 #include "content/browser/tab_contents/tab_contents_observer.h" | 18 #include "content/browser/tab_contents/tab_contents_observer.h" |
19 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
20 | 20 |
21 class AutocompleteHistoryManager; | 21 class AutocompleteHistoryManager; |
22 class AutofillManager; | 22 class AutofillManager; |
| 23 class AutofillExternalDelegate; |
23 class AutomationTabHelper; | 24 class AutomationTabHelper; |
24 class BlockedContentTabHelper; | 25 class BlockedContentTabHelper; |
25 class BookmarkTabHelper; | 26 class BookmarkTabHelper; |
26 class ConstrainedWindowTabHelper; | 27 class ConstrainedWindowTabHelper; |
27 class DownloadRequestLimiterObserver; | 28 class DownloadRequestLimiterObserver; |
28 class Extension; | 29 class Extension; |
29 class ExtensionTabHelper; | 30 class ExtensionTabHelper; |
30 class ExtensionWebNavigationTabObserver; | 31 class ExtensionWebNavigationTabObserver; |
31 class ExternalProtocolObserver; | 32 class ExternalProtocolObserver; |
32 class FaviconTabHelper; | 33 class FaviconTabHelper; |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 // Shows an info-bar to users when they search from a known search engine and | 268 // Shows an info-bar to users when they search from a known search engine and |
268 // have never used the omnibox for search before. | 269 // have never used the omnibox for search before. |
269 scoped_ptr<OmniboxSearchHint> omnibox_search_hint_; | 270 scoped_ptr<OmniboxSearchHint> omnibox_search_hint_; |
270 | 271 |
271 // Tab Helpers --------------------------------------------------------------- | 272 // Tab Helpers --------------------------------------------------------------- |
272 // (These provide API for callers and have a getter function listed in the | 273 // (These provide API for callers and have a getter function listed in the |
273 // "Tab Helpers" section in the member functions area, above.) | 274 // "Tab Helpers" section in the member functions area, above.) |
274 | 275 |
275 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 276 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
276 scoped_ptr<AutofillManager> autofill_manager_; | 277 scoped_ptr<AutofillManager> autofill_manager_; |
| 278 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; |
277 scoped_ptr<AutomationTabHelper> automation_tab_helper_; | 279 scoped_ptr<AutomationTabHelper> automation_tab_helper_; |
278 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; | 280 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; |
279 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; | 281 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; |
280 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; | 282 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; |
281 scoped_ptr<ExtensionTabHelper> extension_tab_helper_; | 283 scoped_ptr<ExtensionTabHelper> extension_tab_helper_; |
282 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; | 284 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; |
283 scoped_ptr<FindTabHelper> find_tab_helper_; | 285 scoped_ptr<FindTabHelper> find_tab_helper_; |
284 scoped_ptr<HistoryTabHelper> history_tab_helper_; | 286 scoped_ptr<HistoryTabHelper> history_tab_helper_; |
285 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; | 287 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; |
286 | 288 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 | 332 |
331 // The supporting objects need to outlive the TabContents dtor (as they may | 333 // The supporting objects need to outlive the TabContents dtor (as they may |
332 // be called upon during its execution). As a result, this must come last | 334 // be called upon during its execution). As a result, this must come last |
333 // in the list. | 335 // in the list. |
334 scoped_ptr<TabContents> tab_contents_; | 336 scoped_ptr<TabContents> tab_contents_; |
335 | 337 |
336 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 338 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
337 }; | 339 }; |
338 | 340 |
339 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 341 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
OLD | NEW |