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

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

Issue 9959097: Move webNavigation extension api into a separate directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_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/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/property_bag.h" 16 #include "base/property_bag.h"
17 #include "content/public/browser/web_contents_observer.h" 17 #include "content/public/browser/web_contents_observer.h"
18 18
19 class AlternateErrorPageTabObserver; 19 class AlternateErrorPageTabObserver;
20 class AutocompleteHistoryManager; 20 class AutocompleteHistoryManager;
21 class AutofillManager; 21 class AutofillManager;
22 class AutofillExternalDelegate; 22 class AutofillExternalDelegate;
23 class AutomationTabHelper; 23 class AutomationTabHelper;
24 class BlockedContentTabHelper; 24 class BlockedContentTabHelper;
25 class BookmarkTabHelper; 25 class BookmarkTabHelper;
26 class ConstrainedWindowTabHelper; 26 class ConstrainedWindowTabHelper;
27 class CoreTabHelper; 27 class CoreTabHelper;
28 class DownloadRequestLimiterObserver; 28 class DownloadRequestLimiterObserver;
29 class ExtensionTabHelper; 29 class ExtensionTabHelper;
30 class ExtensionWebNavigationTabObserver;
31 class ExternalProtocolObserver; 30 class ExternalProtocolObserver;
32 class FaviconTabHelper; 31 class FaviconTabHelper;
33 class FindTabHelper; 32 class FindTabHelper;
34 class HistoryTabHelper; 33 class HistoryTabHelper;
35 class InfoBarTabHelper; 34 class InfoBarTabHelper;
36 class OmniboxSearchHint; 35 class OmniboxSearchHint;
37 class PasswordManager; 36 class PasswordManager;
38 class PasswordManagerDelegate; 37 class PasswordManagerDelegate;
39 class PDFTabObserver; 38 class PDFTabObserver;
40 class PluginObserver; 39 class PluginObserver;
(...skipping 11 matching lines...) Expand all
52 class WebIntentPickerController; 51 class WebIntentPickerController;
53 52
54 #if defined(ENABLE_ONE_CLICK_SIGNIN) 53 #if defined(ENABLE_ONE_CLICK_SIGNIN)
55 class OneClickSigninHelper; 54 class OneClickSigninHelper;
56 #endif 55 #endif
57 56
58 namespace browser_sync { 57 namespace browser_sync {
59 class SyncedTabDelegate; 58 class SyncedTabDelegate;
60 } 59 }
61 60
61 namespace extensions {
62 class WebNavigationTabObserver;
63 }
64
62 namespace prerender { 65 namespace prerender {
63 class PrerenderTabHelper; 66 class PrerenderTabHelper;
64 } 67 }
65 68
66 namespace printing { 69 namespace printing {
67 class PrintViewManager; 70 class PrintViewManager;
68 class PrintPreviewMessageHandler; 71 class PrintPreviewMessageHandler;
69 } 72 }
70 73
71 namespace safe_browsing { 74 namespace safe_browsing {
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 257
255 // Handles displaying a web intents picker to the user. 258 // Handles displaying a web intents picker to the user.
256 scoped_ptr<WebIntentPickerController> web_intent_picker_controller_; 259 scoped_ptr<WebIntentPickerController> web_intent_picker_controller_;
257 260
258 // Per-tab observers --------------------------------------------------------- 261 // Per-tab observers ---------------------------------------------------------
259 // (These provide no API for callers; objects that need to exist 1:1 with tabs 262 // (These provide no API for callers; objects that need to exist 1:1 with tabs
260 // and silently do their thing live here.) 263 // and silently do their thing live here.)
261 264
262 scoped_ptr<AlternateErrorPageTabObserver> alternate_error_page_tab_observer_; 265 scoped_ptr<AlternateErrorPageTabObserver> alternate_error_page_tab_observer_;
263 scoped_ptr<DownloadRequestLimiterObserver> download_request_limiter_observer_; 266 scoped_ptr<DownloadRequestLimiterObserver> download_request_limiter_observer_;
264 scoped_ptr<ExtensionWebNavigationTabObserver> webnavigation_observer_; 267 scoped_ptr<extensions::WebNavigationTabObserver> webnavigation_observer_;
265 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; 268 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_;
266 scoped_ptr<OmniboxSearchHint> omnibox_search_hint_; 269 scoped_ptr<OmniboxSearchHint> omnibox_search_hint_;
267 #if defined(ENABLE_ONE_CLICK_SIGNIN) 270 #if defined(ENABLE_ONE_CLICK_SIGNIN)
268 scoped_ptr<OneClickSigninHelper> one_click_signin_helper_; 271 scoped_ptr<OneClickSigninHelper> one_click_signin_helper_;
269 #endif 272 #endif
270 scoped_ptr<PDFTabObserver> pdf_tab_observer_; 273 scoped_ptr<PDFTabObserver> pdf_tab_observer_;
271 scoped_ptr<PluginObserver> plugin_observer_; 274 scoped_ptr<PluginObserver> plugin_observer_;
272 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; 275 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_;
273 scoped_ptr<safe_browsing::SafeBrowsingTabObserver> 276 scoped_ptr<safe_browsing::SafeBrowsingTabObserver>
274 safe_browsing_tab_observer_; 277 safe_browsing_tab_observer_;
275 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_; 278 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_;
276 279
277 // TabContents (MUST BE LAST) ------------------------------------------------ 280 // TabContents (MUST BE LAST) ------------------------------------------------
278 281
279 // If true, we're running the destructor. 282 // If true, we're running the destructor.
280 bool in_destructor_; 283 bool in_destructor_;
281 284
282 // The supporting objects need to outlive the WebContents dtor (as they may 285 // The supporting objects need to outlive the WebContents dtor (as they may
283 // be called upon during its execution). As a result, this must come last 286 // be called upon during its execution). As a result, this must come last
284 // in the list. 287 // in the list.
285 scoped_ptr<content::WebContents> web_contents_; 288 scoped_ptr<content::WebContents> web_contents_;
286 289
287 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); 290 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper);
288 }; 291 };
289 292
290 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 293 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698